[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch for locate.el when called with prefix arg
From: |
Luc Teirlinck |
Subject: |
Re: patch for locate.el when called with prefix arg |
Date: |
Sun, 22 Apr 2007 15:05:48 -0500 (CDT) |
That is indeed a bug. All use of `current-prefix-arg' should be
in the interactive spec.
There seem to be many places in the Lisp code that violate this. For
instance, both Calc and org mode seem to violate this systematically.
In as far as org is concerned, the docstring of
`org-execute-file-search-functions' contains the following cryptic remark:
Each function can access the current prefix argument through the
variable `current-prefix-argument'. Note that a single prefix is
used to force opening a link in Emacs, so it may be good to only
use a numeric or double prefix to guide the search function.
The _only_ mention of the variable `current-prefix-argument' in the
entire source code is in that docstring. I would guess that
`current-prefix-arg' is what is meant. I do not use org and hence can
not look further into this.
Sincerely,
Luc.
- Re: patch for locate.el when called with prefix arg, (continued)
- Re: patch for locate.el when called with prefix arg, Chong Yidong, 2007/04/20
- Re: patch for locate.el when called with prefix arg, Matt Hodges, 2007/04/21
- Re: patch for locate.el when called with prefix arg, Richard Stallman, 2007/04/21
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/21
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/21
- Re: patch for locate.el when called with prefix arg, Richard Stallman, 2007/04/22
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/22
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/22
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/22
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/22
- Re: patch for locate.el when called with prefix arg,
Luc Teirlinck <=
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/22
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/23
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/23
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/23
- Re: patch for locate.el when called with prefix arg, Miles Bader, 2007/04/23
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/23
- Re: patch for locate.el when called with prefix arg, Miles Bader, 2007/04/23
- Re: patch for locate.el when called with prefix arg, Luc Teirlinck, 2007/04/23
- Re: patch for locate.el when called with prefix arg, Miles Bader, 2007/04/23
- Re: patch for locate.el when called with prefix arg, Miles Bader, 2007/04/23