GNU bug report logs - #4361
delphi-mode should be default for Delphi project files (with patch)

Previous Next

Package: emacs;

Reported by: Simon South <ssouth <at> slowcomputing.org>

Date: Sun, 6 Sep 2009 17:35:04 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Simon South <ssouth <at> slowcomputing.org>
Subject: bug#4361 closed by Glenn Morris <rgm <at> gnu.org> (Re: bug#4361:
 delphi-mode should be default for Delphi project files (with patch))
Date: Mon, 07 Sep 2009 02:35:04 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#4361: delphi-mode should be default for Delphi project files (with patch)

It has been closed by Glenn Morris <rgm <at> gnu.org>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Glenn Morris <rgm <at> gnu.org> by
replying to this email.


-- 
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)]
From: Glenn Morris <rgm <at> gnu.org>
To: 4361-done <at> debbugs.gnu.org
Subject: Re: bug#4361: delphi-mode should be default for Delphi project files (with patch)
Date: Sun, 06 Sep 2009 22:27:17 -0400
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).
[Message part 3 (message/rfc822, inline)]
From: Simon South <ssouth <at> slowcomputing.org>
To: bug-gnu-emacs <at> gnu.org
Subject: delphi-mode should be default for Delphi project files (with patch)
Date: Sun, 06 Sep 2009 13:25:24 -0400
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)



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.