From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: dapfy@t-online.de, emacs-devel@gnu.org
Subject: Re: diff.el now uses diff-mode
Date: 11 Feb 2004 13:11:26 -0500 [thread overview]
Message-ID: <jwvd68lxzy3.fsf-monnier+emacs/devel@asado.iro.umontreal.ca> (raw)
In-Reply-To: <E1Aqvo3-0003tY-QD@fencepost.gnu.org>
> I've just installed a change that makes diff.el use diff-mode.
> It considerably simplifies the code of diff.el while at the same time
> bringing a whole bunch of improvements to diff.el. It's also part of the
> effort to clear the way for the new compile.el.
> Thank you.
Note that it was mostly Daniel's work.
Also using diff-mode implies that things work differently.
I think the benefit is worth the cost.
> I'm eager to see the new compile.el installed.
Same here.
> Daniel, what obstacles still remain?
The only packages that might still suffer are tex-mode and ada-xref.
The tex-mode part is code that works very poorly as it is, so I doubt people
use it much. I expect most people who need such feature use AUCTeX instead,
so I think it's OK to just junk it.
We may be able to implement a better replacement afterwards using the new
compile.el, actually. But I don't think this should stop us from
installing the new compile.el.
As for ada-xref.el, I'll let Daniel explain what might be broken, because
I don't know. It's not even clear to me whether it would be broken
or not. Also the ada-xref.el code does some really fishy things which
might break other packages. See the example of code I appended.
I think th best way to get this code working with the new compile.el is to
install the new code and wait for someone to complain, because I don't know
anyone who understands what bugs might be introduced. Once/if we have an
actual bug-report we'll be better able to go about fixing things.
Stefan
;; Temporarily replaces the definition of `comint-exec' so that we
;; can execute commands before running gdb.
;; FIXME: This is evil and not temporary !!! -stef
(fset 'comint-exec
`(lambda (buffer name command startfile switches)
(let (compilation-buffer-name-function)
(save-excursion
(set 'compilation-buffer-name-function
(lambda(x) (buffer-name buffer)))
(compile (ada-quote-cmd
(concat ,pre-cmd
command " "
(mapconcat 'identity switches " "))))))
))
next prev parent reply other threads:[~2004-02-11 18:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-11 6:21 diff.el now uses diff-mode Stefan Monnier
2004-02-11 14:57 ` Richard Stallman
2004-02-11 18:11 ` Stefan Monnier [this message]
2004-02-12 1:38 ` Miles Bader
2004-02-13 17:33 ` Richard Stallman
2004-03-11 22:19 ` Daniel Pfeiffer
2004-03-11 22:42 ` Stefan Monnier
2004-03-12 8:37 ` Daniel Pfeiffer
2004-03-14 14:17 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvd68lxzy3.fsf-monnier+emacs/devel@asado.iro.umontreal.ca \
--to=monnier@iro.umontreal.ca \
--cc=dapfy@t-online.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.