Your message dated Tue, 16 Jan 2007 10:44:04 +0100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #180577,
regarding jed: too clever when opening .info files
to be marked as having been forwarded to the upstream software
author(s) [EMAIL PROTECTED]
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
package jed
tags 180577 upstream
thanks
[Please, respect the M-F-T header when replying.]
A bug report (http://bugs.debian.org/180577) has been filed against the the
jed package in Debian regarding the behavior of JED when opening a file with
the .info extension. In this situation, instead of opening a window for
editing the file directly, info_mode() is called, which results in the info
browser being launched. This can confuse users.
I am considering to apply the patch attached below to sitel.sl in order to
make an exception for *.info files in mode_hook(). After all, there is no
mode to edit directly info files, since these are files generated from
texinfo sources.
Please tell me whether this solution is acceptable or if there is a better
fix.
--
Rafael Laboissiere
--- jed-0.99.18.orig/lib/site.sl
+++ jed-0.99.18/lib/site.sl
@@ -1883,8 +1883,11 @@
mode = strcat (strlow (ext), "_mode");
if (is_defined (mode) > 0)
{
- eval (mode);
- return;
+ if (mode != "info_mode")
+ {
+ eval (mode);
+ return;
+ }
}
!if (strncmp (strup (extract_filename (buffer_filename ())), "READ", 4))
--- End Message ---