Re: assoc-delete-all

2005-07-04 Thread Juri Linkov
>> with this function >> >> (assoc-delete-all "." (assoc-delete-all ".." file-alist1)) >> >> Even better would be to allow a test function like in assoc-default: >> >> (assoc-delete-all nil file-alist1 (lambda (key) (string-match "^\.\.?$" >> key))) > > That's one of these things that would be

Re: Changing occur-hook to occur-functions

2005-07-04 Thread Juri Linkov
>> Why do you think it is a mistake? It doesn't work with `occur-mode-hook'. > > Neither does with `occur-hook'. You have to add > > (lambda () (occur-rename-buffer t)) That's exactly what I tried. With the latest CVS state (add-hook 'occur-hook (lambda () (occur-rename-buffer t))) renames th

Re: weird bug with `Russian-computer'?

2005-07-04 Thread Juri Linkov
> Works for me, thanks. However, why ``only if a typed character is the > same with and without an input method''? Maybe it should just process > the character _after_ it has been processed/converted by the input method, > as opposed to processing it _before_, as currently. So, S-7 in `russian-

Re: assoc-delete-all

2005-07-04 Thread Juri Linkov
> Is the following patch not right? > > *** dired-aux.el 03 Jul 2005 12:12:32 -0400 1.133 > --- dired-aux.el 04 Jul 2005 15:01:37 -0400 > *** > *** 136,141 > --- 136,143 > (dired-file-set-difference > file-a

Re: Incorrect indentation after :name

2005-07-04 Thread Stefan Monnier
> + (if (or (not function) > + (and (> (point) (1+ (point-min))) > +(or (save-excursion (backward-char 2) (looking-at "'(")) > +(keywordp (intern-soft function))) > +(not (fboundp (intern-soft function) > The problem is, th

Re: Fixing report-emacs-bug

2005-07-04 Thread Stefan Monnier
> If OS-X has postfix installed but doesn't start it by default, that's > just sort of stupid; complain to Apple. The problem is not whether it's started or not, but whether it's configured or not. Nowadays, it's very common for machines to have to use a specific SMTP server for outgoing email, s

Re: assoc-delete-all

2005-07-04 Thread Richard M. Stallman
Well, assoc-delete-all will help to fix the bug in dired-compare-directories. Sometimes the number of marked files it reports is wrong. That's because it compares the file attributes of directories "." and "..", but dired mark-functions don't mark them. Is the following patch no

Re: Changing occur-hook to occur-functions

2005-07-04 Thread Richard M. Stallman
to `occur-mode-hook' for it to work. That's why I proposed to add a new parameter INTERACTIVE-P to `occur-rename-buffer' so it can be just dropped onto the hook. I see I misunderstood the diff when I looked at it. I am too sleepy. ___ Emac

Re: More bugs in Custom themes

2005-07-04 Thread Richard M. Stallman
The Themes code needs to be rewritten using a proper conflict resolution algorithm and a proper design. "A proper design" doesn't identify a specific problem I could address, but I think we already discussed the proper conflict resolution method. What I suggested was that the themes

Re: The MH-E repository

2005-07-04 Thread Richard M. Stallman
Please forgive the delay--I was waiting to have a chance to make some of you members of the Emacs project myself. Instead I decided I will find someone else to do that. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listin

Re: base64 behavior is not MIME compliant

2005-07-04 Thread Richard M. Stallman
I received a piece of email which passed through an older MTA. This MTA inserted a ! and a newline after every 1000 characters of a very long line of base64-encoded data, which used to be common behavior. When Gnus tried to display this email, it failed, because the ! character

Re: Incorrect indentation after :name

2005-07-04 Thread Richard M. Stallman
+ (if (or (not function) + (and (> (point) (1+ (point-min))) + (or (save-excursion (backward-char 2) (looking-at "'(")) + (keywordp (intern-soft function))) + (not (fboundp (intern-soft function) The problem is, this w

Re: "checksum failure after patch" in CVS

2005-07-04 Thread Eli Zaretskii
> Date: Tue, 5 Jul 2005 01:08:01 +0200 > From: Juanma Barranquero <[EMAIL PROTECTED]> > Cc: Emacs Devel > > On 7/4/05, Jason Rumney <[EMAIL PROTECTED]> wrote: > > > It's not in binary format in the repository, we deliberately avoid > > binary format for text files, even when we need to check the

Re: Fixing report-emacs-bug

2005-07-04 Thread Miles Bader
David Reitter <[EMAIL PROTECTED]> writes: >>> Just like on a GNU/Linux system with postfix shut down (is that so? >>> can't check this lacking root access on our systems.) >> >> Could be, but that doesn't make the behavior correct on Mac OS X. > > Well, it's probably not good behavior on any system

man/search.texi

2005-07-04 Thread Luc Teirlinck
I suggest the following changes to man/search.texi. The sentence: You can make other commands usable within an incremental search by giving the command a [EMAIL PROTECTED] @code{isearch-scroll} property. is cryptic to non-Elisp programmers. Either one gives an example, as the patch does,

Re: Documentation not clear for the Lisp function set-variable

2005-07-04 Thread Luc Teirlinck
Richard Stallman wrote: Actually, I forgot that, unlike customize-face, customize-variable does not allow to enter variables that are defvarred or defvaraliased, rather than defcustomed. I think that is partly a bug--it should allow an alias if its "real" name has a def

Re: Incorrect indentation after :name

2005-07-04 Thread Juanma Barranquero
> I've been using the patch below for several years now quite happily. > If people like it, I'll glad it install it, It is certainly much nicer than the default. You've got my vote. -- /L/e/k/t/u ___ Emacs-devel mailing list Emacs

Re: custom-declare-variable

2005-07-04 Thread Luc Teirlinck
>From my previous message: If not, should we not delete the above comment Except that we should, of course, keep the following part: ;; Remember the standard setting. Sincerely, Luc. ___ Emacs-devel mailing list Emacs-devel@gnu.org http:

Re: w32: addpm.exe -> usethis.exe?

2005-07-04 Thread Lennart Borgman
Juanma Barranquero wrote: There is a version of gnuserver/client that we can use instead however. Which version? I have an older one that I found somewhere, but it is AFAICS not maintained anymore. Guy has maintained it for a while I believe. It can be found on his site and in EmacsW3

Re: w32: addpm.exe -> usethis.exe?

2005-07-04 Thread Juanma Barranquero
On 7/5/05, Lennart Borgman <[EMAIL PROTECTED]> wrote: > Guy has maintained it for a while I believe. It can be found on his site > and in EmacsW32. I'll take a look, thanks. > I mention very clearly the version and where to get them, but maybe I > have to put the sources there too? I would reall

custom-declare-variable

2005-07-04 Thread Luc Teirlinck
As I already pointed out in another message, there is some strangeness in the custom-declare-variable docstring and the following comment, As it was at the end of my message, it may have been overlooked. DEFAULT is stored as SYMBOL's value in the standard theme. See `custom-known-themes' for

Re: "checksum failure after patch" in CVS

2005-07-04 Thread Juanma Barranquero
On 7/4/05, Jason Rumney <[EMAIL PROTECTED]> wrote: > It's not in binary format in the repository, we deliberately avoid > binary format for text files, even when we need to check them in with > DOS line ends, because we know that binary format is inconvenient. It's a terminology issue. You're rig

Re: "checksum failure after patch" in CVS

2005-07-04 Thread Juanma Barranquero
On 7/5/05, Eli Zaretskii <[EMAIL PROTECTED]> wrote: > That's a known problem: it means that config.bat didn't have -kb in > your CVS/Entries file prior to the first "cvs update" (without -kb). > That's why the first "cvs up" did a P(atch) instead of U(pdate). When > it tries to patch a file with

Re: "checksum failure after patch" in CVS

2005-07-04 Thread Jason Rumney
Eli Zaretskii <[EMAIL PROTECTED]> writes: >> Date: Mon, 04 Jul 2005 16:45:56 +0100 >> From: Jason Rumney <[EMAIL PROTECTED]> >> Cc: Emacs Devel >> >> I don't have any problem updating it with CVSNT 2.0.51d, it may be a bug >> in the specific version you are using. > > Is config.bat checked out

Re: Changing occur-hook to occur-functions

2005-07-04 Thread Juanma Barranquero
> The change you intend seems to be that occur-rename-buffer will always > generate a unique name, when called interactively. Just the opposite. The function is designed to be executed interactively (it is bound to a key in the occur map), and I don't want to change its behavior. But its docstring

Re: w32: addpm.exe -> usethis.exe?

2005-07-04 Thread Lennart Borgman
Jason Rumney wrote: BTW, I doubt that emacsserver/client will be ready for w32 before release. Does anyone have any updates on this? There is a version of gnuserver/client that we can use instead however. What version of gnuserv/gnuclient can we use instead? Whenever I have asked in the

Re: w32: addpm.exe -> usethis.exe?

2005-07-04 Thread Juanma Barranquero
On 7/4/05, Lennart Borgman <[EMAIL PROTECTED]> wrote: > 1) It adds/changes emacs_dir to HKCU if HKLM can not be used. That seems reasonable. > 2) No icon is added to Program Manager any more. And that is GOOD! I have a configure script that runs configure.bat and then a Perl script to take the

Re: Fixing report-emacs-bug

2005-07-04 Thread Stefan Monnier
>> Of course not. But I just get really annoyed when people ask us to work >> around bugs in proprietary systems without even bothering to try and get >> those bugs fixed. > Fine I've reported the issue. Thank you. Stefan ___ Emacs-devel

Re: "checksum failure after patch" in CVS

2005-07-04 Thread Eli Zaretskii
> Date: Mon, 04 Jul 2005 16:45:56 +0100 > From: Jason Rumney <[EMAIL PROTECTED]> > Cc: Emacs Devel > > I don't have any problem updating it with CVSNT 2.0.51d, it may be a bug > in the specific version you are using. Is config.bat checked out with -kb on your machine? If it is, then such probl

Re: "checksum failure after patch" in CVS

2005-07-04 Thread Eli Zaretskii
> Date: Mon, 4 Jul 2005 16:47:24 +0200 > From: Juanma Barranquero <[EMAIL PROTECTED]> > > On 7/4/05, Juanma Barranquero <[EMAIL PROTECTED]> wrote: > > > P config.bat > > cvs update: checksum failure after patch to ./config.bat; will refetch > > Weirdly enough, it all worked again after > > C:

Re: Incorrect indentation after :name

2005-07-04 Thread David Ponce
Hi Stefan, >>This gets incorrectly indented after :background. > > >> (put-text-property 0 (length s) >> 'face '(:background "red" >> :foreground "black" >> :height

Re: w32: addpm.exe -> usethis.exe?

2005-07-04 Thread Jason Rumney
Lennart Borgman <[EMAIL PROTECTED]> writes: > BTW, I doubt that emacsserver/client will be ready for w32 before > release. Does anyone have any updates on this? There is a version of > gnuserver/client that we can use instead however. What version of gnuserv/gnuclient can we use instead? Wheneve

Re: Fixing report-emacs-bug

2005-07-04 Thread David Reitter
On 4 Jul 2005, at 19:35, Stefan Monnier wrote: Who cares? All the end user sees is that, without having messed with the system in any way, her email didn't get to the destination and she didn't receive a bounce either. I.e. it's "lost". Whether a hacker/guru can recover the email 2 years

Re: Fixing report-emacs-bug

2005-07-04 Thread Jason Rumney
Lennart Borgman <[EMAIL PROTECTED]> writes: > I need some education here. Was not MAPI meant to provide a standard > API for mail on different systems? Could not that be used in > situations like bug reporting? It does not seem proprietary to me, or > is it? MAPI is a proprietary Windows API. It

checkbox widget black and unreadable

2005-07-04 Thread Lennart Borgman
The checkbox type widget is on w32 black with a gray check mark. Nearly unreadable. Could this be changed? To see this take the widget example from Info dir and change the beginning so that it looks like this: (defun widget-example () "Create the widgets from the Widget manual." (interactiv

Re: Some error info from configure.bat please

2005-07-04 Thread Lennart Borgman
Stefan Monnier wrote: Damn! Now everybody knows that I haven't updated my knowledge of `find' during the last 10 years! Yes ... now, atcually it was a good prediction ;-) ___ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailma

Re: Fixing report-emacs-bug

2005-07-04 Thread Lennart Borgman
Stefan Monnier wrote: Of course not. But I just get really annoyed when people ask us to work around bugs in proprietary systems without even bothering to try and get those bugs fixed. I need some education here. Was not MAPI meant to provide a standard API for mail on different systems? Co

Re: Fixing report-emacs-bug

2005-07-04 Thread Stefan Monnier
>> Doesn't matter. The bug is simple: in a default config of OS X, if you do >> "sendmail [EMAIL PROTECTED] > message. > It seems to go into the queue. Who cares? All the end user sees is that, without having messed with the system in any way, her email didn't get to the destination and she di

Re: Some error info from configure.bat please

2005-07-04 Thread Stefan Monnier
>> It's not just speed. In many cases you can use find|xargs to get a similar >> result, but there are cases where he ** thingy is difficult to emulate with >> other tools. One example I've used releatedly is >> >> for f in **/CVS/Root; do ... done >> >> if you havedirectories named "CVS" that

Re: Fwd: python-mode: no variable compilation-error-regexp-alist

2005-07-04 Thread Stefan Monnier
> [I sent this message a few weeks ago but did not get a response.] > It looks like part of python.el was broken by the rewrite of compile.el. > We have no maintainer for python.el; would someone please fix the bug > and then ack this message? I've fixed it a few days ago. Stefan

Re: Fixing report-emacs-bug

2005-07-04 Thread Stefan Monnier
>>> As described a while ago, report-emacs-bug doesn't work on Mac OS >>> X (unless the user chooses to activate postfix). It swallows bug >>> reports without indicating an error. >>> >> >> Have you reported it as a bug to Apple? > No I haven't. > I'm not sure what the correct behavior would b

Re: Fixing report-emacs-bug

2005-07-04 Thread David Reitter
On 4 Jul 2005, at 18:37, Stefan Monnier wrote: Doesn't matter. The bug is simple: in a default config of OS X, if you do "sendmail [EMAIL PROTECTED] message. It seems to go into the queue. Just like on a GNU/Linux system with postfix shut down (is that so? can't check this lacking root ac

Re: Darwin support for lisp/battery.el.

2005-07-04 Thread David Kastrup
"Richard M. Stallman" <[EMAIL PROTECTED]> writes: > But the communication is just with the kernel, via the proc file > system. > > If this comment should talk about the kernels, that is ok. Just as > long as it does so in a clear and unambiguous way, that reinforces > the distinction betw

Re: Documentation not clear for the Lisp function set-variable

2005-07-04 Thread David Kastrup
"Richard M. Stallman" <[EMAIL PROTECTED]> writes: > Actually, I forgot that, unlike customize-face, customize-variable > does not allow to enter variables that are defvarred or defvaraliased, > rather than defcustomed. > > I think that is partly a bug--it should allow an alias if its "

Re: optimization for pop movemail

2005-07-04 Thread Richard M. Stallman
Thanks for noticing this issue. + if (line == pop_error && strlen (line) < sizeof (pop_error) - 5) That code is a horrible kludge. It would be better to copy the string to a temporary buffer and add the \r\n there. You could allocate it with alloca. That is clean, and you could do it uncondit

Re: Fixing report-emacs-bug

2005-07-04 Thread Richard M. Stallman
Postfix is not running by default on Mac. Mostly the mail programs used (Mail.app, Thunderbird, Mozilla, etc) talks directly with SMTP to whatever host has been configured in that program. How silly not to provide a command-line program which does the same. Emacs surely is not the

Re: Documentation not clear for the Lisp function set-variable

2005-07-04 Thread Richard M. Stallman
Actually, I forgot that, unlike customize-face, customize-variable does not allow to enter variables that are defvarred or defvaraliased, rather than defcustomed. I think that is partly a bug--it should allow an alias if its "real" name has a defcustom. __

Re: Changing occur-hook to occur-functions

2005-07-04 Thread Richard M. Stallman
The change you intend seems to be that occur-rename-buffer will always generate a unique name, when called interactively. The easy way to do that is just to change the interactive spec so that UNIQUE-P is always non-nil in an interactive call. Then update the doc string.

Re: weird bug with `Russian-computer'?

2005-07-04 Thread Paul Pogonyshev
Juri Linkov wrote: > > With the `Russian-computer' input method, S-/ combination produces a > > comma (instead of a question mark with standard English.) That is OK and > > the way it should be. > > Perhaps you have a US keyboard layout with `?' on the same key as `/'. > Finnish keyboards have qui

Re: Fixing report-emacs-bug

2005-07-04 Thread David Reitter
On 4 Jul 2005, at 16:16, Joakim Verona wrote: If mailing doesnt work, emacs could try posting the bug report through a web form. I thought about something like that - actually without a web form, but with a CGI script that takes the input via the URL library and forwards it to the normal e

w32: addpm.exe -> usethis.exe?

2005-07-04 Thread Lennart Borgman
A rather long time ago I rewrote addpm.exe and renamed it to usethis.exe. I made two important changes: 1) It adds/changes emacs_dir to HKCU if HKLM can not be used. 2) No icon is added to Program Manager any more. In my opinion Emacs should be run as a server on w32 and that icon starts a sta

Re: "checksum failure after patch" in CVS

2005-07-04 Thread Jason Rumney
Juanma Barranquero wrote: Weirdly enough, it all worked again after C:\...\HEAD> cvs -q update -kb config.bat U config.bat C:\...\HEAD> cvs -q update Perhaps it is a problem with CVSNT. Even so, id I say already that I *hate* .BAT files in binary mode in the repository? It's not in binar

Screen update when running call-process

2005-07-04 Thread Lennart Borgman
I noticed a strange thing when I was running a subprocess with screen update. I started it with (setq sts (call-process "sh" nil (current-buffer) t "-c" "make") The t means 'update display'. That works nicely as long as I do not switch frame or switch to another app. When I get back

Re: Some error info from configure.bat please

2005-07-04 Thread Andreas Schwab
Stefan Monnier <[EMAIL PROTECTED]> writes: > It's not just speed. In many cases you can use find|xargs to get a similar > result, but there are cases where he ** thingy is difficult to emulate with > other tools. One example I've used releatedly is > > for f in **/CVS/Root; do ... done > >

Re: Fixing report-emacs-bug

2005-07-04 Thread Joakim Verona
Just an idea: Maybe a fallback method for report-emacs-bug could be implemented that uses the emacs url library. If mailing doesnt work, emacs could try posting the bug report through a web form. The benefit would be that as long as the emacs user has a working internet connection, the bug-repo

Re: "checksum failure after patch" in CVS

2005-07-04 Thread Juanma Barranquero
On 7/4/05, Juanma Barranquero <[EMAIL PROTECTED]> wrote: > P config.bat > cvs update: checksum failure after patch to ./config.bat; will refetch Weirdly enough, it all worked again after C:\...\HEAD> cvs -q update -kb config.bat U config.bat C:\...\HEAD> cvs -q update Perhaps it is a prob

Re: Some error info from configure.bat please

2005-07-04 Thread Stefan Monnier
[ As a long time zsh user, I'm biased of course. ] >> > (the "**" feature alone is something to kill for) Agreed. Eshell has it also, BTW. >> Could you please describe it briefly? > "fgrep STRING /foo/bar/**/*.c" will look for the named string in all > *.c files in /foo/bar and in all its sub

"checksum failure after patch" in CVS

2005-07-04 Thread Juanma Barranquero
C:\...\HEAD> cvs -q update ? data ? site-lisp ? etc/icons ? lib-src/ctags.c ? lisp/Makefile.unix ? nt/config.log ? nt/makefile P config.bat cvs update: checksum failure after patch to ./config.bat; will refetch M info/dir [and apparently CVS hangs, or at least it takes a very long time] --

Re: Infinite loop in whitespace-buffer-trailing-cleanup

2005-07-04 Thread Richard M. Stallman
Does this make it work? *** whitespace.el 10 Jun 2005 09:28:20 -0400 1.36 --- whitespace.el 04 Jul 2005 09:37:22 -0400 *** *** 608,624 (defun whitespace-buffer-leading-cleanup () "Remove any empty lines at the top of the file." (save-excursion !

Re: Incorrect indentation after :name

2005-07-04 Thread Stefan Monnier
> "Lennart" == Lennart Borgman <[EMAIL PROTECTED]> writes: > This gets incorrectly indented after :background. > (put-text-property 0 (length s) > 'face '(:background "red" > :foreground "black" >

Re: Darwin support for lisp/battery.el.

2005-07-04 Thread Richard M. Stallman
But the communication is just with the kernel, via the proc file system. If this comment should talk about the kernels, that is ok. Just as long as it does so in a clear and unambiguous way, that reinforces the distinction between the kernels and the larger systems. ___

Re: fonts in carbon emacs

2005-07-04 Thread Stefan Monnier
> just after startup. But after evaluating "(set-face-attribute > 'default nil :height 130)", it becomes > Font or fontset: -apple-monaco-medium-r-normal--13-130-75-75-m-130-mac-roman That looks like one of the sources of problems. Does someone know why this happens? Stefan ___

Re: Scroll lock

2005-07-04 Thread Juanma Barranquero
On 7/4/05, Ralf Angeli <[EMAIL PROTECTED]> wrote: > Attached you can find the current version of scroll-lock.el which will > keep point horizontally fixed (as far as possible) for line- and > paragraph-based scrolling. This could be extended to page-based > scrolling (`C-v', `M-v') and be made co

Re: Scroll lock

2005-07-04 Thread Ralf Angeli
* Juanma Barranquero (2005-07-04) writes: > I've been using for years Mikael Sjödin's pager.el (available at > http://user.it.uu.se/~mic/pager.el). It's a tiny module, just five > short functions, and its main advantage is that allows you to do > page-down/page-up and the cursor is back to where

Re: Darwin support for lisp/battery.el.

2005-07-04 Thread Lute Kamstra
Arne Jørgensen <[EMAIL PROTECTED]> writes: > Lute Kamstra <[EMAIL PROTECTED]> skriver: > >> Apparently that option was added in OS X 10.4. Strange that pmset >> doesn't signal an error with its exit code when it gets passed an >> unknown option. Maybe I can test for a working version of pmset in

Re: Fixing report-emacs-bug

2005-07-04 Thread Jan D.
But I think what we could do is have sendmail.el issue a 'sendmail - q' command, which flushes the mail queue if the mail system is running. If not, you get this: That would work too. However, I am wondering if there is some confusion. If Postfix is running, why doesn't sendmail.

Re: Darwin support for lisp/battery.el.

2005-07-04 Thread Lute Kamstra
Arne Jørgensen <[EMAIL PROTECTED]> writes: > Lute Kamstra <[EMAIL PROTECTED]> writes: > > [...] > >> My patch tries to test whether pmset supports "-g ps" by looking at >> the exit code. Does "pmset -g ps" return a non-zero exit code on your >> system? > > On my iBook G4 with Mac OS X 10.3 "pmset

Re: widget-inactive face unusable

2005-07-04 Thread LENNART BORGMAN
From: Juri Linkov <[EMAIL PROTECTED]> > > I get the "dim gray" foreground. I do not know what "dim" stands > for but > > removing it gives me a more useful color. The widget label is > now really > > gray. (However it might even be too hard to read.) > > > > How does it look on other platforms

Re: Scroll lock

2005-07-04 Thread Juanma Barranquero
With respect to scrolling, etc., one comment (or question, I'm not sure). I've been using for years Mikael Sjödin's pager.el (available at http://user.it.uu.se/~mic/pager.el). It's a tiny module, just five short functions, and its main advantage is that allows you to do page-down/page-up and the

Re: Fixing report-emacs-bug

2005-07-04 Thread David Reitter
On 4 Jul 2005, at 07:16, Richard M. Stallman wrote: But I think what we could do is have sendmail.el issue a 'sendmail - q' command, which flushes the mail queue if the mail system is running. If not, you get this: That would work too. However, I am wondering if there is some co

Re: Darwin support for lisp/battery.el.

2005-07-04 Thread Ken Raeburn
On Jul 4, 2005, at 05:31, Ken Raeburn wrote: I'm running 10.3.9, and at http://www.mitt-eget.com/software/macosx/#battery it says that the ioreg output format changed in 10.3.8, and again in 10.4, so parsing this may be a little annoying. However, there's also a link to a script which can par

Re: Editing exportet registry files

2005-07-04 Thread Kaloian Doganov
> For UTF-16 with signature, I agree, but UTF-8 could sometimes match a > Latin-1 file. I would like to stress that. Latin-1 (ISO-8859-1) is a superset of US-ASCII. The first 128 characters are basically US-ASCII. On the other hand, although UTF-8 is a variable length encoding, it is designed to

Re: Darwin support for lisp/battery.el.

2005-07-04 Thread Ken Raeburn
On Jul 4, 2005, at 03:39, Lute Kamstra wrote: My patch tries to test whether pmset supports "-g ps" by looking at the exit code. Does "pmset -g ps" return a non-zero exit code on your system? No, it looks like "pmset -g anything" will give a zero exit status; it just doesn't print out anythi

Re: assoc-delete-all

2005-07-04 Thread Juanma Barranquero
On 7/4/05, Juri Linkov <[EMAIL PROTECTED]> wrote: > with this function > > (assoc-delete-all "." (assoc-delete-all ".." file-alist1)) > > Even better would be to allow a test function like in assoc-default: > > (assoc-delete-all nil file-alist1 (lambda (key) (string-match "^\.\.?$" key))) That

Re: Darwin support for lisp/battery.el.

2005-07-04 Thread Arne Jørgensen
Lute Kamstra <[EMAIL PROTECTED]> writes: > Ken Raeburn <[EMAIL PROTECTED]> writes: > > [...] > >> (And, BTW, the "-g ps" arguments given don't seem to do anything on my >> laptop running 10.3, kernel 7.9.0; I don't know if that means it's >> just not a supported option on my laptop for some reason

Re: Changing occur-hook to occur-functions

2005-07-04 Thread Juanma Barranquero
On 7/4/05, Juri Linkov <[EMAIL PROTECTED]> wrote: > Why do you think it is a mistake? It doesn't work with `occur-mode-hook'. Neither does with `occur-hook'. You have to add (lambda () (occur-rename-buffer t)) to `occur-mode-hook' for it to work. That's why I proposed to add a new parameter

Re: Darwin support for lisp/battery.el.

2005-07-04 Thread Lute Kamstra
Ken Raeburn <[EMAIL PROTECTED]> writes: [...] > (And, BTW, the "-g ps" arguments given don't seem to do anything on my > laptop running 10.3, kernel 7.9.0; I don't know if that means it's > just not a supported option on my laptop for some reason, which would > seem kind of strange, or if the "ps