help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Is it obvious that string-match syntax matching is affected by the c


From: Drew Adams
Subject: RE: Is it obvious that string-match syntax matching is affected by the current buffer?
Date: Sun, 13 Mar 2016 17:40:11 -0700 (PDT)

> > When I work with a string then I feel it should not be affected
> > by settings of the current buffer, because it's not buffer text
> > anymore, but a separate object.
> 
> I agree, yet at the same time this begs the question: which setting to
> use, if not the current buffer's?
> 
> Using some global setting for them instead would be wrong just as often,
> if not more.

Probably it would help to mention such dependence on syntax
and case-conversion and tables in the doc string, explicitly
pointing out that this pertains also when the function is used
on a string instead of a buffer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]