[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [feature request] Add ".sh" or ".bash" extension to tmpfile generate
From: |
shynur . |
Subject: |
Re: [feature request] Add ".sh" or ".bash" extension to tmpfile generated by `fc` |
Date: |
Fri, 20 Sep 2024 09:00:17 +0000 |
Oğuz:
>
> shynur:
> >
> > Oğuz:
> > >
> > > shynur:
> > > >
> > > > "bash-fc.Esf9by", which seldom benefits from editors
> > > > that use *suffixes* to infer what syntax highlighting
> > > > should be enabled.
> > >
> > > For example?
> >
> > When Emacs opens a file named "bash-fc.NNNNNN.bash", it'll
> > enable sh-mode automatically
>
> Vim does that without the .bash extension. What stops Emacs
> from doing the same?
Editors needn't give "bash-fc.NNNNNN" special handling, IMO.
Because simply adding a ".bash" extension can take care of
ALL editors, once and for ALL.
You were just looking for a chance to show off from the start,
weren't you? After all there's no need to say "for example?"
at the very beginning, otherwise I won't post this FR. You
win. Vim did a good job this time. Applause...
Re: [feature request] Add ".sh" or ".bash" extension to tmpfile generated by `fc`, Martin D Kealey, 2024/09/20
Re: [feature request] Add ".sh" or ".bash" extension to tmpfile generated by `fc`, Chet Ramey, 2024/09/20
Re: [feature request] Add ".sh" or ".bash" extension to tmpfile generated by `fc`, shynur ., 2024/09/20