all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#4361: delphi-mode should be default for Delphi project files (with patch)
@ 2009-09-06 17:25 ` Simon South
  2009-09-07  2:35   ` bug#4361: marked as done (delphi-mode should be default for Delphi project files (with patch)) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Simon South @ 2009-09-06 17:25 UTC (permalink / raw
  To: bug-gnu-emacs

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)






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#4361: marked as done (delphi-mode should be default for Delphi project files (with patch))
  2009-09-06 17:25 ` bug#4361: delphi-mode should be default for Delphi project files (with patch) Simon South
@ 2009-09-07  2:35   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-09-07  2:35 UTC (permalink / raw
  To: Glenn Morris

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

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

[-- Attachment #2: Type: message/rfc822, Size: 2928 bytes --]

From: Simon South <ssouth@slowcomputing.org>
To: bug-gnu-emacs@gnu.org
Subject: delphi-mode should be default for Delphi project files (with patch)
Date: Sun, 06 Sep 2009 13:25:24 -0400
Message-ID: <87d464x9x7.fsf@hamlet.localdomain>

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)



[-- Attachment #3: Type: message/rfc822, Size: 1800 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: 4361-done@emacsbugs.donarmstrong.com
Subject: Re: bug#4361: delphi-mode should be default for Delphi project files (with patch)
Date: Sun, 06 Sep 2009 22:27:17 -0400
Message-ID: <hp3a6zebga.fsf@fencepost.gnu.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-07  2:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <hp3a6zebga.fsf@fencepost.gnu.org>
2009-09-06 17:25 ` bug#4361: delphi-mode should be default for Delphi project files (with patch) Simon South
2009-09-07  2:35   ` bug#4361: marked as done (delphi-mode should be default for Delphi project files (with patch)) Emacs bug Tracking System

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.