unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Glenn Morris <rgm@gnu.org>
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	[thread overview]
Message-ID: <handler.4361.D4361.125229044121907.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 87d464x9x7.fsf@hamlet.localdomain

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

      reply	other threads:[~2009-09-07  2:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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   ` Emacs bug Tracking System [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.4361.D4361.125229044121907.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).