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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4361 in the body.
You can then email your comments to 4361 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4361; Package emacs. (Sun, 06 Sep 2009 17:35:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simon South <ssouth <at> slowcomputing.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 06 Sep 2009 17:35:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

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)




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Mon, 07 Sep 2009 02:35:04 GMT) Full text and rfc822 format available.

Notification sent to Simon South <ssouth <at> slowcomputing.org>:
bug acknowledged by developer. (Mon, 07 Sep 2009 02:35:04 GMT) Full text and rfc822 format available.

Message #10 received at 4361-done <at> emacsbugs.donarmstrong.com (full text, mbox):

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).



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Mon, 05 Oct 2009 14:24:14 GMT) Full text and rfc822 format available.

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.