unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 11434@debbugs.gnu.org, Reuben Thomas <rrt@sc3d.org>
Subject: bug#11434: 24.0.96; Determining major mode for a given file extension
Date: Fri, 01 Nov 2019 19:12:53 +0100	[thread overview]
Message-ID: <87mudfihy2.fsf@skangas.se> (raw)
In-Reply-To: <jwvbolxtu4l.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 09 May 2012 08:35:57 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> I'd use (let ((buffer-file-name "foo.js")) (set-auto-mode)) instead.
>> So it's just my Lisp that's bad, not my approach? :)
>
> I think so, yes.  You can also use create-file-buffer with some dummy
> file name and then call after-find-file (that's what I did in PCL-CVS).

It seems to me like there is no bug here.  Am I missing something?

If I don't hear back within a couple of weeks, I'll go ahead and close
this bug report.

Best regards,
Stefan Kangas





      parent reply	other threads:[~2019-11-01 18:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08 16:38 bug#11434: 24.0.96; Determining major mode for a given file extension Reuben Thomas
2012-05-08 16:44 ` Reuben Thomas
2012-05-08 18:24   ` Stefan Monnier
2012-05-08 18:30     ` Reuben Thomas
2012-05-09 12:35       ` Stefan Monnier
2019-10-31  7:31         ` Stefan Kangas
2019-11-29 12:45           ` Stefan Kangas
2019-11-01 18:12         ` Stefan Kangas [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=87mudfihy2.fsf@skangas.se \
    --to=stefan@marxist.se \
    --cc=11434@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rrt@sc3d.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).