unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Cherrypicking commit e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
@ 2018-03-15 18:34 Philipp Stephani
  2018-03-15 19:07 ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Philipp Stephani @ 2018-03-15 18:34 UTC (permalink / raw)
  To: Emacs developers

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

Hi,

would it be OK to cherrypick commit
e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto the release branch? It fixes
a bug that makes filenotify watches essentially unusable with quoted
filenames, and is very short and localized.

Thanks,
Philipp

[-- Attachment #2: Type: text/html, Size: 326 bytes --]

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

* Re: Cherrypicking commit e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-03-15 18:34 Cherrypicking commit e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26 Philipp Stephani
@ 2018-03-15 19:07 ` Eli Zaretskii
  2018-03-15 19:37   ` Philipp Stephani
  2018-03-15 19:48   ` Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 " John Wiegley
  0 siblings, 2 replies; 14+ messages in thread
From: Eli Zaretskii @ 2018-03-15 19:07 UTC (permalink / raw)
  To: Philipp Stephani; +Cc: emacs-devel

> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Thu, 15 Mar 2018 18:34:27 +0000
> 
> would it be OK to cherrypick commit e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto the release
> branch? It fixes a bug that makes filenotify watches essentially unusable with quoted filenames, and is very
> short and localized.

How can anything related to quoted file name be urgent to fix?



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

* Re: Cherrypicking commit e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-03-15 19:07 ` Eli Zaretskii
@ 2018-03-15 19:37   ` Philipp Stephani
  2018-12-25 16:02     ` Philipp Stephani
  2018-03-15 19:48   ` Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 " John Wiegley
  1 sibling, 1 reply; 14+ messages in thread
From: Philipp Stephani @ 2018-03-15 19:37 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

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

Eli Zaretskii <eliz@gnu.org> schrieb am Do., 15. März 2018 um 20:07 Uhr:

> > From: Philipp Stephani <p.stephani2@gmail.com>
> > Date: Thu, 15 Mar 2018 18:34:27 +0000
> >
> > would it be OK to cherrypick commit
> e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto the release
> > branch? It fixes a bug that makes filenotify watches essentially
> unusable with quoted filenames, and is very
> > short and localized.
>
> How can anything related to quoted file name be urgent to fix?
>

Quoted filenames are a core Emacs function that is prominently documented,
see e.g.
https://www.gnu.org/software/emacs/manual/html_node/emacs/Quoted-File-Names.html.
They are also the only reliable method for external scripts and libraries
to ensure that Emacs doesn't mangle a local filename in unpredictable ways.
Therefore it's very important that quoted filenames are bugfree.
Perhaps even more importantly, that commit fixes a regression:
emacs -Q -batch -l filenotify --eval="(file-notify-rm-watch
(file-notify-add-watch \"/:/tmp/\" '(change) 'ignore))"
works in master and Emacs 25.2, but not with the release branch.

[-- Attachment #2: Type: text/html, Size: 1638 bytes --]

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

* Re: Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-03-15 19:07 ` Eli Zaretskii
  2018-03-15 19:37   ` Philipp Stephani
@ 2018-03-15 19:48   ` John Wiegley
  2018-03-15 20:02     ` Eli Zaretskii
  1 sibling, 1 reply; 14+ messages in thread
From: John Wiegley @ 2018-03-15 19:48 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Philipp Stephani, emacs-devel

>>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:

EZ> How can anything related to quoted file name be urgent to fix?

If the fix is truly minor, this sounds important to fix before releasing 26.1.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



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

* Re: Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-03-15 19:48   ` Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 " John Wiegley
@ 2018-03-15 20:02     ` Eli Zaretskii
  2018-03-15 23:54       ` John Wiegley
  0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2018-03-15 20:02 UTC (permalink / raw)
  To: John Wiegley; +Cc: p.stephani2, emacs-devel

> From: "John Wiegley" <johnw@gnu.org>
> Cc: Philipp Stephani <p.stephani2@gmail.com>,  emacs-devel@gnu.org
> Date: Thu, 15 Mar 2018 12:48:29 -0700
> 
> >>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
> 
> EZ> How can anything related to quoted file name be urgent to fix?
> 
> If the fix is truly minor, this sounds important to fix before releasing 26.1.

I don't think many people use quoted file names.  I'm sure Philipp can
patch his Emacs, if he needs this badly.  There's a reason why we
didn't push this to the release branch.



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

* Re: Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-03-15 20:02     ` Eli Zaretskii
@ 2018-03-15 23:54       ` John Wiegley
  2018-03-16  3:41         ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: John Wiegley @ 2018-03-15 23:54 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: p.stephani2, emacs-devel

>>>>> Eli Zaretskii <eliz@gnu.org> writes:

> I don't think many people use quoted file names. I'm sure Philipp can patch
> his Emacs, if he needs this badly. There's a reason why we didn't push this
> to the release branch.

Actually, I constantly use quoted file names, because I have filenames with
spaces in them all over (for example, "~/Library/Application Support" is a
somewhat common prefix, or "~/Library/Mobile Documents").

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



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

* Re: Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-03-15 23:54       ` John Wiegley
@ 2018-03-16  3:41         ` Eli Zaretskii
  2018-03-16  5:07           ` John Wiegley
  0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2018-03-16  3:41 UTC (permalink / raw)
  To: John Wiegley; +Cc: p.stephani2, emacs-devel

> From: John Wiegley <johnw@gnu.org>
> Cc: p.stephani2@gmail.com,  emacs-devel@gnu.org
> Date: Thu, 15 Mar 2018 16:54:58 -0700
> 
> >>>>> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > I don't think many people use quoted file names. I'm sure Philipp can patch
> > his Emacs, if he needs this badly. There's a reason why we didn't push this
> > to the release branch.
> 
> Actually, I constantly use quoted file names, because I have filenames with
> spaces in them all over (for example, "~/Library/Application Support" is a
> somewhat common prefix, or "~/Library/Mobile Documents").

Why do spaces require to quote file names?

You _are_ talking about quoting with prefix "/:", right?  Because this
is what this is about.



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

* Re: Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-03-16  3:41         ` Eli Zaretskii
@ 2018-03-16  5:07           ` John Wiegley
  2018-03-16  8:12             ` Michael Albinus
  0 siblings, 1 reply; 14+ messages in thread
From: John Wiegley @ 2018-03-16  5:07 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: p.stephani2, emacs-devel

>>>>> Eli Zaretskii <eliz@gnu.org> writes:

> You _are_ talking about quoting with prefix "/:", right? Because this is
> what this is about.

Ah, no, I had understood something different. Never mind then, it can wait
until after the release.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



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

* Re: Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-03-16  5:07           ` John Wiegley
@ 2018-03-16  8:12             ` Michael Albinus
  2018-03-16 14:04               ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Michael Albinus @ 2018-03-16  8:12 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: p.stephani2, emacs-devel

John Wiegley <johnw@gnu.org> writes:

> Ah, no, I had understood something different. Never mind then, it can wait
> until after the release.

This raises the question how we determine patches to be backported to
Emacs 26.2. I have no idea, but going through all closed bugs and/or all
commits to the master branch.

Best regards, Michael.



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

* Re: Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-03-16  8:12             ` Michael Albinus
@ 2018-03-16 14:04               ` Eli Zaretskii
  2018-03-16 14:20                 ` Michael Albinus
  0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2018-03-16 14:04 UTC (permalink / raw)
  To: Michael Albinus; +Cc: p.stephani2, emacs-devel

> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: p.stephani2@gmail.com,  emacs-devel@gnu.org
> Date: Fri, 16 Mar 2018 09:12:28 +0100
> 
> This raises the question how we determine patches to be backported to
> Emacs 26.2. I have no idea, but going through all closed bugs and/or all
> commits to the master branch.

Maybe we should have a file in admin that would list such commits.  Or
maybe we should have a special phrase in the commit log message.



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

* Re: Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-03-16 14:04               ` Eli Zaretskii
@ 2018-03-16 14:20                 ` Michael Albinus
  0 siblings, 0 replies; 14+ messages in thread
From: Michael Albinus @ 2018-03-16 14:20 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: p.stephani2, emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

>> This raises the question how we determine patches to be backported to
>> Emacs 26.2. I have no idea, but going through all closed bugs and/or all
>> commits to the master branch.
>
> Maybe we should have a file in admin that would list such commits.  Or
> maybe we should have a special phrase in the commit log message.

The latter one is good for errors. See the Version: line we shall add
when committing something. Many people, including me, tend to forget it.

Another approach would be a staging branch, which collects such backport
candidates.

Best regards, Michael.



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

* Re: Cherrypicking commit e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-03-15 19:37   ` Philipp Stephani
@ 2018-12-25 16:02     ` Philipp Stephani
  2018-12-25 17:24       ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Philipp Stephani @ 2018-12-25 16:02 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Emacs developers

Am Do., 15. März 2018 um 20:37 Uhr schrieb Philipp Stephani
<p.stephani2@gmail.com>:
>
>
>
> Eli Zaretskii <eliz@gnu.org> schrieb am Do., 15. März 2018 um 20:07 Uhr:
>>
>> > From: Philipp Stephani <p.stephani2@gmail.com>
>> > Date: Thu, 15 Mar 2018 18:34:27 +0000
>> >
>> > would it be OK to cherrypick commit e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto the release
>> > branch? It fixes a bug that makes filenotify watches essentially unusable with quoted filenames, and is very
>> > short and localized.
>>
>> How can anything related to quoted file name be urgent to fix?
>
>
> Quoted filenames are a core Emacs function that is prominently documented, see e.g. https://www.gnu.org/software/emacs/manual/html_node/emacs/Quoted-File-Names.html. They are also the only reliable method for external scripts and libraries to ensure that Emacs doesn't mangle a local filename in unpredictable ways. Therefore it's very important that quoted filenames are bugfree.
> Perhaps even more importantly, that commit fixes a regression:
> emacs -Q -batch -l filenotify --eval="(file-notify-rm-watch (file-notify-add-watch \"/:/tmp/\" '(change) 'ignore))"
> works in master and Emacs 25.2, but not with the release branch.

Is it OK to cherrypick commit e08de2bae2a8e91c0245259dfcbfdca1d191a119
for Emacs 26.2? Thanks!



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

* Re: Cherrypicking commit e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-12-25 16:02     ` Philipp Stephani
@ 2018-12-25 17:24       ` Eli Zaretskii
  2019-01-02 13:03         ` Philipp Stephani
  0 siblings, 1 reply; 14+ messages in thread
From: Eli Zaretskii @ 2018-12-25 17:24 UTC (permalink / raw)
  To: Philipp Stephani; +Cc: emacs-devel

> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Tue, 25 Dec 2018 17:02:27 +0100
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> Is it OK to cherrypick commit e08de2bae2a8e91c0245259dfcbfdca1d191a119
> for Emacs 26.2? Thanks!

Yes, OK.



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

* Re: Cherrypicking commit e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26
  2018-12-25 17:24       ` Eli Zaretskii
@ 2019-01-02 13:03         ` Philipp Stephani
  0 siblings, 0 replies; 14+ messages in thread
From: Philipp Stephani @ 2019-01-02 13:03 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Emacs developers

Am Di., 25. Dez. 2018 um 18:24 Uhr schrieb Eli Zaretskii <eliz@gnu.org>:
>
> > From: Philipp Stephani <p.stephani2@gmail.com>
> > Date: Tue, 25 Dec 2018 17:02:27 +0100
> > Cc: Emacs developers <emacs-devel@gnu.org>
> >
> > Is it OK to cherrypick commit e08de2bae2a8e91c0245259dfcbfdca1d191a119
> > for Emacs 26.2? Thanks!
>
> Yes, OK.

Thanks, done (commit 08840f2f7b).



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

end of thread, other threads:[~2019-01-02 13:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-15 18:34 Cherrypicking commit e08de2bae2a8e91c0245259dfcbfdca1d191a119 onto emacs-26 Philipp Stephani
2018-03-15 19:07 ` Eli Zaretskii
2018-03-15 19:37   ` Philipp Stephani
2018-12-25 16:02     ` Philipp Stephani
2018-12-25 17:24       ` Eli Zaretskii
2019-01-02 13:03         ` Philipp Stephani
2018-03-15 19:48   ` Cherrypicking commit e08ed2bae2a8e91c0245259dfcbfdca1d191a119 " John Wiegley
2018-03-15 20:02     ` Eli Zaretskii
2018-03-15 23:54       ` John Wiegley
2018-03-16  3:41         ` Eli Zaretskii
2018-03-16  5:07           ` John Wiegley
2018-03-16  8:12             ` Michael Albinus
2018-03-16 14:04               ` Eli Zaretskii
2018-03-16 14:20                 ` Michael Albinus

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