GNU bug report logs -
#4361
delphi-mode should be default for Delphi project files (with patch)
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 06 Sep 2009 22:27:17 -0400
with message-id <hp3a6zebga.fsf <at> fencepost.gnu.org>
and subject line Re: bug#4361: delphi-mode should be default for Delphi project files (with patch)
has caused the Emacs bug report #4361,
regarding delphi-mode should be default for Delphi project files (with patch)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)
--
4361: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4361
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
The patch below changes auto-mode-alist so delphi-mode is entered
automatically for Delphi project (.dpr, .DPR) files. (pascal-mode
remains the default for .pas files.)
Changes:
(auto-mode-alist): Use delphi-mode for .dpr, .DPR files.
Index: files.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/files.el,v
retrieving revision 1.1078
diff -c -r1.1078 files.el
*** files.el 5 Sep 2009 16:25:27 -0000 1.1078
--- files.el 6 Sep 2009 17:15:43 -0000
***************
*** 2174,2179 ****
--- 2174,2180 ----
("\\.for\\'" . fortran-mode)
("\\.p\\'" . pascal-mode)
("\\.pas\\'" . pascal-mode)
+ ("\\.[dD][pP][rR]\\'" . delphi-mode)
("\\.ad[abs]\\'" . ada-mode)
("\\.ad[bs].dg\\'" . ada-mode)
("\\.\\([pP]\\([Llm]\\|erl\\|od\\)\\|al\\)\\'" . perl-mode)
[Message part 3 (message/rfc822, inline)]
Simon South wrote:
> (auto-mode-alist): Use delphi-mode for .dpr, .DPR files.
[...]
> + ("\\.[dD][pP][rR]\\'" . delphi-mode)
Thanks. I installed something similar (assuming mixed-case extensions
are not really relevant).
This bug report was last modified 15 years and 261 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.