From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.help Subject: Re: Is it obvious that string-match syntax matching is =?utf-8?b?YWZmZWN0ZWQJYnkJdGhl?= current buffer? Date: Sun, 13 Mar 2016 19:19:09 +0000 (UTC) Message-ID: References: <56E59AD0.5070302@easy-emacs.de> <83ziu2e1gr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1457896783 18451 80.91.229.3 (13 Mar 2016 19:19:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Mar 2016 19:19:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 13 20:19:34 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1afBY5-0007G7-VE for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Mar 2016 20:19:34 +0100 Original-Received: from localhost ([::1]:37298 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afBY4-0002xf-V3 for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Mar 2016 15:19:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afBXt-0002xT-Fv for help-gnu-emacs@gnu.org; Sun, 13 Mar 2016 15:19:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afBXp-0007G4-FP for help-gnu-emacs@gnu.org; Sun, 13 Mar 2016 15:19:21 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:40226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afBXp-0007G0-8A for help-gnu-emacs@gnu.org; Sun, 13 Mar 2016 15:19:17 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1afBXn-00076e-MN for help-gnu-emacs@gnu.org; Sun, 13 Mar 2016 20:19:15 +0100 Original-Received: from 94-21-43-53.pool.digikabel.hu ([94.21.43.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Mar 2016 20:19:15 +0100 Original-Received: from adatgyujto by 94-21-43-53.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Mar 2016 20:19:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.43.53 (Mozilla/5.0 (Windows NT 6.3; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109561 Archived-At: Eli Zaretskii gnu.org> writes: > > Forget syntax tables: did you know that 'downcase' and > case-insensitive string match uses the current buffer's > case-conversion table? Yes, those are examples of the same thing. 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. But I understand the current behavior won't be changed, because it could break existing code which relies on it, so it's up to elisp developers to make sure the correct defaults are used when calling the function.