Re: TRAMP password caching

2006-12-13 Thread Michael Albinus
Eli Zaretskii [EMAIL PROTECTED] writes: Hi Eli, For openssh like implementations, I've (tried to) fix(ed) it by adding ControlMaster/ControlPath arguments to the scp commands. AFAIK, these arguments are not available under w32, so it shall be checked whether pscp is still the preferrable

Re: -fs hides part of Emacs window behind task bar on w32

2006-12-13 Thread Juanma Barranquero
On 12/12/06, Juanma Barranquero [EMAIL PROTECTED] wrote: Any objection then to this patch? It fixes the bug that, on Windows, emacs -Q -fs creates an initial frame partially hidden behind the taskbar. The patch does not take into account multiple monitors, because neither does the original

Re: image.el doesn't associate image-mode with .JPG files

2006-12-13 Thread Mathias Dahl
Richard Stallman [EMAIL PROTECTED] writes: If .JPG/.JPEG is frequent, perhaps we should add it to `auto-mode-alist', then. Or do this: (push '(^\xFF\xD8\xFF\xE0\x00\x10JFIF . image-mode) magic-mode-alist) I am not sure which is better, but I agree we should do one or

Re: TRAMP password caching

2006-12-13 Thread Jason Rumney
Michael Albinus wrote: Please do. I hoped it could be determined simply via the existence of environment variables (as it is possible with ssh-agent, environment variables $SSH_AUTHENTICATION_*), but it doesn't seem so easy. And I also don't know a command like 'ps' which returns running

Re: TRAMP password caching

2006-12-13 Thread Michael Albinus
Jason Rumney [EMAIL PROTECTED] writes: PuTTY itself uses the following code: *int* *agent_exists*(*void*) { HWND hwnd; hwnd = FindWindow(*Pageant*, *Pageant*); *if* (!hwnd) *return* FALSE; *else* *return* TRUE; } Hmm. Could you translate it into Lisp? Best

Ediff frame doesn't keep keyboard focus

2006-12-13 Thread Chris Moore
I have 2 files to compare, and type the following: M-x ediff RET /tmp/file1.txt RET /tmp/file2.txt RET A new small frame is created in the top right of the screen entitled Ediff, with Type ? for help \n _/1 in it. I type n to go to the next difference. The main Emacs frame updates to

Re: image.el doesn't associate image-mode with .JPG files

2006-12-13 Thread Jason Rumney
Mathias Dahl wrote: Richard Stallman [EMAIL PROTECTED] writes: If .JPG/.JPEG is frequent, perhaps we should add it to `auto-mode-alist', then. Or do this: (push '(^\xFF\xD8\xFF\xE0\x00\x10JFIF . image-mode) magic-mode-alist) I am not sure which is better, but I

Re: image.el doesn't associate image-mode with .JPG files

2006-12-13 Thread Juanma Barranquero
On 12/13/06, Jason Rumney [EMAIL PROTECTED] wrote: The only problem with this method is that the actual regexp you need is more complex Yes, I downloaded the spec; I was just being sloppy in discussing it. I'm not sure I like adding that to `magic-mode-alist'; why not PNG, GIF, TIFF and other

Re: image.el doesn't associate image-mode with .JPG files

2006-12-13 Thread Chris Moore
Is there any reason not to just treat the regexps in auto-mode-alist as case insensitive? Is there any kind of file where the case of the extension matters? ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org

Re: image.el doesn't associate image-mode with .JPG files

2006-12-13 Thread Juanma Barranquero
On 12/13/06, Chris Moore [EMAIL PROTECTED] wrote: Is there any kind of file where the case of the extension matters? .Z files are compressed with compress, while .z files are from pack or early versions of gzip. Years ago it wasn't uncommon to find .C and .H for C++ source files.

Re: image.el doesn't associate image-mode with .JPG files

2006-12-13 Thread Juanma Barranquero
On 12/13/06, Chris Moore [EMAIL PROTECTED] wrote: Juanma Barranquero [EMAIL PROTECTED] writes: That's a shame. It would have been an easy fix, rather than having to make all these special cases. Though I agree with you, that's a fix I wouldn't dare propose (note that I talked about

Re: image.el doesn't associate image-mode with .JPG files

2006-12-13 Thread Jason Rumney
Chris Moore wrote: Is there any reason not to just treat the regexps in auto-mode-alist as case insensitive? Is there any kind of file where the case of the extension matters? .C is commonly used for c++ files where filenames are case-sensitive.

Re: M-\ does not work with prefix argument as documented

2006-12-13 Thread Kevin Rodgers
Dieter Wilhelm wrote: Hi emacs -Q -D Insert a line like the following: otto foo ^ Place the cursor approximately where the accent is. Type M-- M-\ and all white space is deleted instead of only the one on the left hand side. Neither the Emacs manual nor the

Crash on delete-frame

2006-12-13 Thread Marshall, Simon
This is with CVS emacs as of 2006-12-11. In GNU Emacs 22.0.91.8 (sparc-sun-solaris2.8, Motif Version 2.1.0) of 2006-12-11 on perth X server distributor `Hummingbird Ltd.', version 11.0.100015 configured using `configure '--prefix=/rvcarma/marshals/software/slash/usr/local'

Re: TRAMP password caching

2006-12-13 Thread Eli Zaretskii
Cc: Eli Zaretskii [EMAIL PROTECTED], emacs-pretest-bug@gnu.org, [EMAIL PROTECTED], [EMAIL PROTECTED] From: Michael Albinus [EMAIL PROTECTED] Date: Wed, 13 Dec 2006 14:47:56 +0100 PuTTY itself uses the following code: *int* *agent_exists*(*void*) { HWND hwnd; hwnd

Re: TRAMP password caching

2006-12-13 Thread Eli Zaretskii
Cc: emacs-pretest-bug@gnu.org, [EMAIL PROTECTED], [EMAIL PROTECTED] From: Michael Albinus [EMAIL PROTECTED] Date: Wed, 13 Dec 2006 13:26:16 +0100 I checked this now: on Windows, pscp behaves like scp and plink behaves like ssh on Posix platforms. In other words, we should indeed change

Re: TRAMP password caching

2006-12-13 Thread Michael Albinus
Eli Zaretskii [EMAIL PROTECTED] writes: PuTTY itself uses the following code: *int* *agent_exists*(*void*) { HWND hwnd; hwnd = FindWindow(*Pageant*, *Pageant*); *if* (!hwnd) *return* FALSE; *else* *return* TRUE; } Hmm. Could you translate it into Lisp?

Re: TRAMP password caching

2006-12-13 Thread Michael Albinus
Eli Zaretskii [EMAIL PROTECTED] writes: That was the default until recently. It was changed because people regard ssh (aka plink) methods too slow for copying large files. I don't understand: didn't you say that you want to change the default to ssh, or even already changed it? I thought

Re: bad copyright years

2006-12-13 Thread Richard Stallman
They are written by me and not modified by any other person. So, I think it's ok not having FSF copyright. That is right. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Re: M-\ does not work with prefix argument as documented

2006-12-13 Thread Richard Stallman
Does this fix the bug? I don't want to add any features now. *** simple.el 04 Dec 2006 09:25:30 -0500 1.837 --- simple.el 13 Dec 2006 13:56:29 -0500 *** *** 707,713 (defun delete-horizontal-space (optional backward-only) Delete all spaces and tabs around

Modeline 3d/Color Bug (?)

2006-12-13 Thread David Caldwell
Version: GNU Emacs 22.0.91.1 (i386-apple-darwin8.8.1, Carbon Version 1.6.0) of 2006-11-20 on black.local I noticed that my modeline doesn't look the way it used too. Perhaps this is a bug, or maybe it's just a new way of doing things. My .emacs file has (among other things): (defun

Re: bad copyright years

2006-12-13 Thread Glenn Morris
Kenichi Handa wrote: I've just updated all AIST copyright years. It seems as if in every case, you just added every year from the first copyright date to the present. This is not exactly how it is supposed to work. The idea is, you should add every year where the file was released with a

Re: bad copyright years

2006-12-13 Thread Kenichi Handa
In article [EMAIL PROTECTED], Glenn Morris [EMAIL PROTECTED] writes: Kenichi Handa wrote: I've just updated all AIST copyright years. It seems as if in every case, you just added every year from the first copyright date to the present. This is not exactly how it is supposed to work. The

Re: bad copyright years

2006-12-13 Thread Glenn Morris
Kenichi Handa wrote: The files who have copyright year before 1997 were released every year as part of Mule package. Ok. Sorry for the lecture you did not need, then. They are integrated into Emacs in 1997. And Emacs were released in 1997, 1998, and 1999. So, perhaps I didn't have to add

Re: image.el doesn't associate image-mode with .JPG files

2006-12-13 Thread Miles Bader
Juanma Barranquero [EMAIL PROTECTED] writes: I get the distinct impression that some people using non-Windows environments would get really pissed if Emacs suddenly started to treat .ext and .EXT (for most values of ext) as the same thing. I don't think they'd care in general, and might even

Re: image.el doesn't associate image-mode with .JPG files

2006-12-13 Thread Richard Stallman
I guess it is a matter of taste, but I would prefer if Emacs uses the technique above instead of looking at the file name. An example of why this is useful: From my digital camera, each time I record a movie with it I get both an avi file and a thm file (I think that was the

Re: image.el doesn't associate image-mode with .JPG files

2006-12-13 Thread Richard Stallman
Is there any kind of file where the case of the extension matters? In general it isn't correct for many of those regexps to match with the wrong case. This change can't be made. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org

Re: Mysterious fontification/C++ context issue

2006-12-13 Thread Alan Mackenzie
On Sun, Dec 10, 2006 at 04:39:03PM -0500, Stefan Monnier wrote: In the time Emacs 22 is the current release, a typical new PC will come to be around 20 GHz, and this slowness will not matter. Actually, recent trends indicate that this is not true. We'll probably see typical new PCs with