Karl Eichwalder | 6 Aug 2000 19:04
Picon

try harder to find w3

On SuSE Linux, w3 for GNU Emacs is installed under
/usr/share/emacs/site-lisp/w3.  Please, check for this location, too.

--

-- 
work : ke <at> suse.de                          |          ------    ,__o
     : http://www.suse.de/~ke/             |         ------   _-\_<,
home : keichwa <at> gmx.net                     |        ------   (*)/'(*)

Stavros Macrakis | 5 Aug 2000 18:08
Picon
Favicon
Gravatar

Perl embedded in Emacs

To pick up on an old thread:

merlyn <at> stonehenge.com (Randal L. Schwartz):
> Well, there's already a Perl-embedded-in-Emacs

flee <at> teleport.com replied:

> it doesn't do anything special for buffers.  if you want to
manipulate a buffer in perl, you either have to call the
lisp routines, or use buffer-string to convert the buffer to
a string that perl can use, which is ... icky.

move_gap(ZV) will get you a contiguous string. If Perl represents strings as
{char *start; int length} or something, this is all you need to do.  Of
course, you can only modify it "in-place" (not change its length).  But
that's true of Emacs strings, too.

If you do want to manipulate the buffer directly, you need to use some sort
of buffer API.  Does Perl allow you to wrapper Emacs buffers up so that they
look like Perl strings?  It would be pretty straightforward to call the
appropriate Emacs routines as necessary.  I think you could do that in
Python, but I haven't tried.  (I'm an old-time Emacs Lisp hacker....)

              -s

Kai Großjohann | 5 Aug 2000 13:11
Picon
Picon

ffap interaction with Gnus

I use (and like) ffap, but it has a strange interaction with the Gnus
group and summary modes.  Without it, hitting `C-x C-f' in a group or
summary buffer gives me `~/' in the minibuffer.  With ffap, `C-x C-f'
gives me `~' (without the slash).

In message mode and in other modes, `C-x C-f' works nicely, even with
ffap.  For example, in this message mode buffer, I get `~/'.

Any ideas?

kai
--

-- 
I like BOTH kinds of music.

Harry Putnam | 4 Aug 2000 20:19
Favicon

Re: nnir oddity in group names

Kai.Grossjohann <at> CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> On 04 Aug 2000, Harry Putnam wrote:
> 
> > Nnir fails if I enter the group name as in the first (t.awk)
> >    example: comp.unix.questions
> > 
> > And will only work if I use the actual unix style name:
> >    comp/unix/questions
> 
> Hm.  Amazing.  You are talking about entering the group spec, right?
> This parameter that you are asked for when you do C-u G G but not with
> just G G?

Yup, thats the one.
> 
> nnir-run-glimpse calls glimpse like this:
> 
>     glimpse -H $h -W -l -y ... -F "$p;$g" $query
> 
> $h means nnir-glimpse-home, $p means nnir-glimpse-remove-prefix, and
> $g is the group spec that you enter after C-u G G.
> 
> It appears to me that entering `foo.bar' for the group spec will match
> directory names `foo/bar' as well as `fooXbar', say.
> 
> But there is one difference between `t.awk' and `comp.unix.questions':
> the length.  I think there is a rather short length limit on Glimpse
> queries.  Maybe 16 characters?  Or 32?
> 
(Continue reading)

Harry Putnam | 4 Aug 2000 19:55
Favicon

Re: Archiving Inbox

Kai.Grossjohann <at> CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> On Fri, 04 Aug 2000, Harry Putnam wrote:
> 
> >    ((expiry-target . "nnml:target")
> >      (expiry-wait . 21 ))
> >    
> >    ((expiry-target . "nnml:target)
> >     (total-expire . t )
> >     (expiry-wait . 14 ))
> 
> I haven't tried this, but these settings look good.  (That is, that's
> what I would have set if I wanted to try the feature.)  Is there a bug
> in Gnus?
> 
> Has anybody tried this?

It also wasn't clear to me from info, what role the variable
`nnmail-expiry-target' plays in all this.  It can be set to a string
or function, yes but does that then apply to all expiry globally or
what?

That is, if one sets nnmail-expiry-target to "nnml:target"  will all
expiry then send messages to nnml:target?

Or is that var set only in Group params.

Far as I can see, this is the sum total available in `info'

      The normal action taken when expiring articles is to delete them.
(Continue reading)

Kai Großjohann | 4 Aug 2000 17:17
Picon
Picon

Re: Archiving Inbox

On Fri, 04 Aug 2000, Harry Putnam wrote:

>    ((expiry-target . "nnml:target")
>      (expiry-wait . 21 ))
>    
>    ((expiry-target . "nnml:target)
>     (total-expire . t )
>     (expiry-wait . 14 ))

I haven't tried this, but these settings look good.  (That is, that's
what I would have set if I wanted to try the feature.)  Is there a bug
in Gnus?

Has anybody tried this?

kai
--

-- 
I like BOTH kinds of music.

Paul Jarc | 4 Aug 2000 17:44
Picon

Re: (provide 'nnmaildir)

<URL:http://multivac.cwru.edu/prj/nnmaildir.el>
internal: .nnmaildir-max is now a symlink, no longer in cur/
bugfix: -open-server no longer stomps on your select method

To migrate from earlier versions, execute this command in each maildir
you're using with nnmaildir:
bash -c 'for max in cur/.nnmaildir-max-*;do ln -s "${max##*/.*-}" .nnmaildir-max;rm "$max";done'
I expect the on-disk storage will not undergo any more changes; future
upgrades should not require more than restarting emacs.

Still on the todo list: moving articles between groups and renumbering
articles with -request-update-info.  There are no known outstanding
bugs.

I haven't tried using nnmaildir with XEmacs, so I'm especially
interested in hearing about problems there.  Are there any online
guides to writing code portable between Emacs & XEmacs?

paul

Kai Großjohann | 4 Aug 2000 17:28
Picon
Picon

Re: nnir oddity in group names

On 04 Aug 2000, Harry Putnam wrote:

> Nnir fails if I enter the group name as in the first (t.awk)
>    example: comp.unix.questions
> 
> And will only work if I use the actual unix style name:
>    comp/unix/questions

Hm.  Amazing.  You are talking about entering the group spec, right?
This parameter that you are asked for when you do C-u G G but not with
just G G?

nnir-run-glimpse calls glimpse like this:

    glimpse -H $h -W -l -y ... -F "$p;$g" $query

$h means nnir-glimpse-home, $p means nnir-glimpse-remove-prefix, and
$g is the group spec that you enter after C-u G G.

It appears to me that entering `foo.bar' for the group spec will match
directory names `foo/bar' as well as `fooXbar', say.

But there is one difference between `t.awk' and `comp.unix.questions':
the length.  I think there is a rather short length limit on Glimpse
queries.  Maybe 16 characters?  Or 32?

Do you think that this might be the problem?  I wish there was a way
around this, but I don't know of one.

Hm.
(Continue reading)

Harry Putnam | 4 Aug 2000 16:25
Favicon

nnir oddity in group names


I noticed this oddity in using nnir with glimpse.

Summary:
Nnir normally wants group names entered in dot format even if they are
in slash format under ~/Mail.  

For nnir `~/Mail/topic/awk' becomes topic.awk  
Described in the details below, I find if a group name is symlinked
under ~/Mail like: ~/Mail/comp <at> /unix/questions, then nnir
fails unless the name is submitted in unix slash style.. like:
comp/unix/questions

Details:

I have nnmail set to use unix style file names.  So I have a number of
groups that are in directories like ~/Mail/t/awk ~/Mail/t/procmail The
`t' stood for `topic' originally.  these are groups where I send
edited messages that I want to keep, containing interesting info about
the topics indicated.

Using nnir to search these is as easy as `C-u G G' <enter query>
and then the <enter group name>.  But in the format nnir understands.  That
is,  t.awk or t.procmail.

Recently I've added a number of nnml groups that are really News
groups.  These groups are formed by rsyncing the directories under
~/News/agent/nntp/≤server> to a holding directory (/n2m), where the
Newsgoups grow as more rsyncs are done.  This directory looks like:

(Continue reading)

Walter Franzini | 4 Aug 2000 10:16
Picon

problem with nnimap (update)


I don't know gnus/nnimap internals so I can't try to solve this myself
:-( 
Also I do not know english ... :-)

In my opinion, the `number-or-marker-p' error is not related to the
overview file.

My experiment:

error: number-or-marker-p ...

q               (quit gnus)
C-x C-c         (quit emacs)

rm News/overview/nnimap/.........

echo ' (setq nnimap-nov-is-evil t)' >> .gnus.el

start emacs
start gnus

select-group INBOX
error: number-or-marker-p ...

So the problem is not related to a corrupted overview file, I think.

Now I select a different group 

B c nnimap+...:INBOX
(Continue reading)


Gmane