From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: "Raw" string literals for elisp Date: Tue, 14 Sep 2021 12:43:46 +0200 Message-ID: <875yv3bfod.fsf@gmail.com> References: <4209edd83cfee7c84b2d75ebfcd38784fa21b23c.camel@crossproduct.net> <20210908160531.GA18656@tuxteam.de> <0E3E472D-0F65-45B8-BE70-118F88AAD29C@acm.org> <77353F5F-DCA0-4070-8DD8-CD0F80216378@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1811"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Emacs developers , Stefan Kangas , Anna Glasgall , Stefan Monnier To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 14 12:46:05 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQ5wy-0000Em-Vc for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Sep 2021 12:46:04 +0200 Original-Received: from localhost ([::1]:42502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQ5wx-0005tk-RK for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Sep 2021 06:46:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ5uw-0002bp-9W for emacs-devel@gnu.org; Tue, 14 Sep 2021 06:43:58 -0400 Original-Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:38715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQ5uq-00014B-Ss for emacs-devel@gnu.org; Tue, 14 Sep 2021 06:43:56 -0400 Original-Received: by mail-wm1-x330.google.com with SMTP id k5-20020a05600c1c8500b002f76c42214bso1677243wms.3 for ; Tue, 14 Sep 2021 03:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=JuOkIIawOaw6K5SoeTz3cBDFvW7l0uhF5oGZvZvsNd0=; b=bbhkFkMnALQd1rV88ORkTCkhJRG0xpOKwW+H/5s0ue0wr3scvy6TM1RjyQGonKSQ+f UMnGPOFs+y8ZiiaXg4lsuWLNnu89SvQkbtk/+JdVUpbh5a6xYYcjop1JnrvzF9ecb16z LBqbqJWCx1c7YJsdILxRPJXacfX48MpBEHY1PYi2aX0abUexggpT2vG+WIISQFwMeFZT A3H7AqjDc531zBcgI5mln0vZjNsg1srFQu1T9P0avqBKTpf5BQrbSYZbqg3FtLee0VO8 Z5TwI7Q+84DNFbEgwQvDrhey9FfWez9WEGE0lxQEb6V/YqPznxHQQjXzv/Xia1Vf3LWk Q1gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=JuOkIIawOaw6K5SoeTz3cBDFvW7l0uhF5oGZvZvsNd0=; b=Da2XcfKLrjuCOL0Uc5LixgsoS4VC5PZZWPc25WBo9lo+UcH3bm8sLrN1n10+ACoese PEPPMC+Db0dbmW6TflWSye3g4npsygGbo62d1jq2w45wC6+jDpOBZfDM3VmhPBby7/yD ZZPrWwB92Td5zX87iUQZ2K3PxiX071BV485pgNwN40MLH17G4TIuVBVnN+B/M57utI6S 7PCRWajkYkfpaFUWilZfzsMJ4VOd4a/am5Wrwv0dFs6HJ169JEEFd3s2iCgBycxPyz0E MYe0IgwsS3anIYyRmz/KJpjc6Oqu7R8be5nhub+PFHjZTPNjDz/9cVXyx7CoqAcdKLWS W2JQ== X-Gm-Message-State: AOAM530NBd5HfQ/B/aEdRLXs/HWtZjY4Zx+3kvDC9XEuHOW/2LvWn4dh KGjOGjqaj3rHp11Us4Nv7qw32Qplj0U7Fg== X-Google-Smtp-Source: ABdhPJw7nwVWKN+FsMisWL/+KEeNS1NSUq2XxtQJdHJd69+NHRJroUZM4AhTXKmT130OW5Nr8QbLug== X-Received: by 2002:a1c:23cb:: with SMTP id j194mr1387127wmj.1.1631616228549; Tue, 14 Sep 2021 03:43:48 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::3c3e]) by smtp.gmail.com with ESMTPSA id v17sm9831445wrr.69.2021.09.14.03.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 03:43:48 -0700 (PDT) In-Reply-To: <77353F5F-DCA0-4070-8DD8-CD0F80216378@acm.org> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Thu, 9 Sep 2021 15:33:44 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=arstoffel@gmail.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:274685 Archived-At: On Thu, 9 Sep 2021 at 15:33, Mattias Engdeg=C3=A5rd wro= te: > * Improve interactive regexp use. Maybe a user could configure a > preferred regexp syntax (standard Emacs, PCRE, rx, etc) to be used > when doing interactive search and replace. IMO, interactive use is the one case where it's actually nice to have parens etc interpreted literally by default. > It would also affect how regexps are displayed and edited in > customisation dialogues; right now, they are often difficult to > read. Ideally a user should be able to switch syntax during entry at > any time and have the regexp translated. Can syntax colouring > (font-lock) improve regexp entry and display? Maybe there could be a "glasses mode" for regexps, similar to the existing one for came case? One could display "(x)" and "\\(x\\)" in a way that is indistinguishable except for the colors of the parenthesis.