bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4361: marked as done (delphi-mode should be default for Delphi proje


From: Emacs bug Tracking System
Subject: bug#4361: marked as done (delphi-mode should be default for Delphi project files (with patch))
Date: Mon, 07 Sep 2009 02:35:04 +0000

Your message dated Sun, 06 Sep 2009 22:27:17 -0400
with message-id <hp3a6zebga.fsf@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 owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4361: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4361
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
--- Begin Message --- 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)



--- End Message ---
--- Begin Message --- Subject: Re: bug#4361: delphi-mode should be default for Delphi project files (with patch) Date: Sun, 06 Sep 2009 22:27:17 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
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).

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]