From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 07:32:33 2020 Received: (at submit) by debbugs.gnu.org; 7 May 2020 11:32:33 +0000 Received: from localhost ([127.0.0.1]:42251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWelV-0003wT-Dm for submit@debbugs.gnu.org; Thu, 07 May 2020 07:32:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:42838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWelT-0003tN-AX for submit@debbugs.gnu.org; Thu, 07 May 2020 07:32:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWelT-0002F0-3E for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 07:32:31 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:35205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWelS-0006xo-2L for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 07:32:30 -0400 Received: by mail-pj1-x1029.google.com with SMTP id ms17so2504123pjb.0 for ; Thu, 07 May 2020 04:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=8EXYtWBixT1Q9oln2XtYddN04Un+0k7HDwnCGD665Ac=; b=oEE8+AuxQc7QXCgmFiiuQfqLuCzhvy1eMwKmn1SnOqdxYl+l8h0y5CGQCrRLtINqo5 s4YCKVDQOjqWZA7LB60+mnzpu9whEuA0jFcG7WX/wPkK6frGx+ofRxzXofb/Ht3LwsDv Qt6uMH1kvIz4DjieroS+fVb4wQG5lnEVS+LjNf5FLIXqQ6F0rEFbZEyphfwc9dsfRQk1 xhA7qz6EdvIlh6qL3WEPDakkvMoHAn1/dgpViyFvL6j13csT2FrzXf6/kRKPXGH1Q4nz qXelfQtKRWxU1MyzQrF8vIx7exKnqWGDWA4f6t8c8Unmu2m/b9drcvRbODulU8wseg35 bX/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8EXYtWBixT1Q9oln2XtYddN04Un+0k7HDwnCGD665Ac=; b=tL526L9HKzeAuqYYMxZuCdCyz26ph/UL3E9tKiu603udVxpJKE8yOGLcktbsu8osxc qct81PxbTR8FFYkl4NugwLK2mD4n8e9Mxgv5yzDRprRTOCOJ44lea7y2A0Bsj/esnA/N JE6c/aef7ZaQBMElyc81RhuvMpQLeBjpl9KFCy8S5fPa02noZjxcnpkY6Pz8zFVAZn4y a+SAerwvjcXJjR0Rgd189afE6+tR8PkfNlpxTVY6uPd5a6EVogR5rEHRN5Q37LLNl3HW l4neTz4BQx8TOH/BTlMp8yUq/B4fOCGUYZwKbgcB/qcdNouYhxsWwiFkbDz5zaunBKk1 4X1Q== X-Gm-Message-State: AGi0PubSQ2ccVcng2vBz0ixl0GC4vBoAWdSuxLJ8WnJwFe1zhwFbqXYs QB4KFuCtXCym34HtbkJQDspHCiUGjsHhcvi00Y1qQ6Or X-Google-Smtp-Source: APiQypLsMraViHD/uBi16X+ZA1q4iz8JllKcQ6C6jKzBDE2qU3i9ZMgH3oQwY6e94nB/CE4HOalaGMscOZqOQOF/VAw= X-Received: by 2002:a17:902:9895:: with SMTP id s21mr13219770plp.158.1588851148260; Thu, 07 May 2020 04:32:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:9a86:0:0:0:0 with HTTP; Thu, 7 May 2020 04:32:27 -0700 (PDT) From: jan Date: Thu, 7 May 2020 12:32:27 +0100 Message-ID: Subject: 26.3; highlight regexp not working properly - not updating as you type To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=rtm443x@googlemail.com; helo=mail-pj1-x1029.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi all, I've reported the same thing a few years ago, it got fixed pretty fast but looks like it reverted again. First ensure font-lock mode is on. Prefix arg forces it on. C-u 1 M-x font-lock-mode Minibuffer says font lock mode is enabled type some text to be highlighted: peq piq highlight regexp: M-s h r p[aeiou]q the above 2 get highlighted as expected now type some matchable text paq this does not get highlighted. I expected it should and as I've used this functionality extensively before, I'm pretty sure it used to work this way. regards jan In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 built on CIRROCUMULUS Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Recent messages: Font-Lock mode enabled in current buffer Quit [2 times] byte-code: No highlighting to remove Quit [6 times] Auto-saving... command-execute: Command attempted to use minibuffer while in minibuffer Quit [2 times] Type C-x 1 to delete the help window, C-M-v to scroll help. Mark saved where search started Quit [2 times] Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Text Minor modes in effect: hi-lock-mode: t diff-auto-refine-mode: t desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils eieio-opt speedbar sb-image ezimage dframe find-func help-fns radix-tree thingatpt hi-lock two-column iso-transl misearch multi-isearch browse-url url-util elec-pair cl-extra help-mode autorevert filenotify vc-git diff-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs helm-gtags subr-x pulse which-func imenu helm-files helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp format-spec helm-utils helm-help helm-types helm easy-mmode helm-source eieio-compat helm-multi-match helm-lib async edmacro kmacro desktop frameset cus-start cus-load finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 211611 22413) (symbols 48 30035 1) (miscs 40 188 361) (strings 32 64898 3209) (string-bytes 1 1974798) (vectors 16 28973) (vector-slots 8 763801 9572) (floats 8 123 316) (intervals 56 2575 0) (buffers 992 21)) From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 07:39:50 2020 Received: (at 41124) by debbugs.gnu.org; 7 May 2020 11:39:50 +0000 Received: from localhost ([127.0.0.1]:42279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWesY-00049r-4j for submit@debbugs.gnu.org; Thu, 07 May 2020 07:39:50 -0400 Received: from mail-pj1-f67.google.com ([209.85.216.67]:53738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWesW-00049V-6k for 41124@debbugs.gnu.org; Thu, 07 May 2020 07:39:48 -0400 Received: by mail-pj1-f67.google.com with SMTP id hi11so2521504pjb.3 for <41124@debbugs.gnu.org>; Thu, 07 May 2020 04:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=RfOFgATOw8MRbdOUWFg7ZEmJVLZ0hNSSO2KxT7+uyLQ=; b=ZAm5zCPj27xEdSCihH6SDqZf0wHD+RfNveUd1zF0IJPHbANtpqs0c6qU8ETH50Hmi2 SvSiLm4hKMYv3ANv9C1/hUkmvGQ2oU8u5xgXNjE75OcxIFXFsn1L2vlkT2QZQwwLTKpM SUYfbpTXjUThfU5/0ZJd2GRgcgfgA/xHXEtOqP3qCo4LhIaii8+pOwzz29oaaqSGyHw4 1A+8x3BnZHOY05tsr811oidOIYlecUJkBOAdh20aJjJgG4o5kO3njDBa7zXRlwTeT9aS 7/PQJlJkcp60J9eYQPoAyAEaz355tfFFvNYIBxaRz79x91t7gAdnZJQUo55oDurmgWo2 gx7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=RfOFgATOw8MRbdOUWFg7ZEmJVLZ0hNSSO2KxT7+uyLQ=; b=dfKk/NUsVTp8A+1DgilMU6Mp3OW3rVnz3t9uVsh3tBuHC5mMrkpN+Up0Bf7/hQeq+u r2H0JuAfzO8nPs6UFsuhSdSqEhaMk1jakAt8hpIh9usuefPaOqTNSZ9d5uDfq9pDR5lk 06iY9Jc4ZLg1R6AGw5Um4e6K3wGsMDoe/WEPxcn8F7QqTfbPSvBV34VY+g3JAybKXS5S RvL6aLmZ6KSklW2b2TzLnja/g2e5W3Ob/AV2sFtp/EAj45mVu9EULKidVeBS3EC/OZL+ syHT3adYAPe4d+MqOx8tU0N8nOS8fBZ9QA3w6LYfSAVCENyN/Y0DtYaRN3KbODR4bTaE bMdw== X-Gm-Message-State: AGi0PubSIZOGF0nQcG5cpZX9rcVL5/kSSsjQjv93ni7RAga8135bG8g3 i6WYpZNB2A8Ug+SP89woZ5SxheYz4/W6eiGjURj9jsd+ X-Google-Smtp-Source: APiQypKD5HeCSxbHPikMQ6qbruABis2YBesBnoCEsNDo4GJglbN9XgrS00xA8LQDRhjCr4FvpCAL8xggFE4KC7Xh/PM= X-Received: by 2002:a17:902:9895:: with SMTP id s21mr13246725plp.158.1588851582041; Thu, 07 May 2020 04:39:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:9a86:0:0:0:0 with HTTP; Thu, 7 May 2020 04:39:41 -0700 (PDT) In-Reply-To: References: From: jan Date: Thu, 7 May 2020 12:39:41 +0100 Message-ID: Subject: Re: bug#41124: Acknowledgement (26.3; highlight regexp not working properly - not updating as you type) To: 41124@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41124 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Further, editing the existing highlighted expressions such that they no longer match the regexp does not un-highlight them jan On 07/05/2020, GNU bug Tracking System wrote: > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. > > Your message has been sent to the package maintainer(s): > bug-gnu-emacs@gnu.org > > If you wish to submit further information on this problem, please > send it to 41124@debbugs.gnu.org. > > Please do not send mail to help-debbugs@gnu.org unless you wish > to report a problem with the Bug-tracking system. > > -- > 41124: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41124 > GNU Bug Tracking System > Contact help-debbugs@gnu.org with problems > From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 08:56:06 2020 Received: (at 41124) by debbugs.gnu.org; 7 May 2020 12:56:06 +0000 Received: from localhost ([127.0.0.1]:42371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWg4M-0006Yy-8F for submit@debbugs.gnu.org; Thu, 07 May 2020 08:56:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWg4J-0006Yc-1y for 41124@debbugs.gnu.org; Thu, 07 May 2020 08:56:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49680) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWg4D-0006GQ-Na; Thu, 07 May 2020 08:55:57 -0400 Received: from [176.228.60.248] (port=3353 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jWg4B-0000pp-OG; Thu, 07 May 2020 08:55:56 -0400 Date: Thu, 07 May 2020 15:55:40 +0300 Message-Id: <83r1vvkipf.fsf@gnu.org> From: Eli Zaretskii To: jan In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41124 Cc: 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 7 May 2020 12:32:27 +0100 > From: jan via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Hi all, > I've reported the same thing a few years ago, it got fixed pretty fast > but looks like it reverted again. > > First ensure font-lock mode is on. Prefix arg forces it on. > > C-u 1 M-x font-lock-mode > > Minibuffer says font lock mode is enabled > > type some text to be highlighted: > > peq > piq > > highlight regexp: > > M-s h r p[aeiou]q > > the above 2 get highlighted as expected > > now type some matchable text > > paq > > this does not get highlighted. > I expected it should and as I've used this functionality extensively > before, I'm pretty sure it used to work this way. I cannot reproduce this. What was the major mode in the buffer where you tried this? I'm asking because font-lock-mode is turned on by default, so I don't understand why you needed to turn it on. E.g., try repeating the sequence, without the font-lock-mode command, in *scratch* as soon as you enter "emacs -Q". From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 08:57:52 2020 Received: (at 41124) by debbugs.gnu.org; 7 May 2020 12:57:52 +0000 Received: from localhost ([127.0.0.1]:42377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWg5q-0006c1-Lb for submit@debbugs.gnu.org; Thu, 07 May 2020 08:57:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWg5p-0006bp-GK for 41124@debbugs.gnu.org; Thu, 07 May 2020 08:57:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49687) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWg5k-0000eW-5n; Thu, 07 May 2020 08:57:32 -0400 Received: from [176.228.60.248] (port=3451 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jWg5i-0002bK-Ti; Thu, 07 May 2020 08:57:31 -0400 Date: Thu, 07 May 2020 15:57:17 +0300 Message-Id: <83pnbfkimq.fsf@gnu.org> From: Eli Zaretskii To: jan In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41124 Cc: 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Date: Thu, 7 May 2020 12:39:41 +0100 > From: jan via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Further, editing the existing highlighted expressions such that they > no longer match the regexp does not un-highlight them Can't reproduce this, either. From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 10:06:35 2020 Received: (at 41124) by debbugs.gnu.org; 7 May 2020 14:06:35 +0000 Received: from localhost ([127.0.0.1]:43653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWhAO-0000Q2-3W for submit@debbugs.gnu.org; Thu, 07 May 2020 10:06:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWhAL-0000Po-74 for 41124@debbugs.gnu.org; Thu, 07 May 2020 10:06:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50955) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWhAG-0001So-0q; Thu, 07 May 2020 10:06:16 -0400 Received: from [176.228.60.248] (port=3623 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jWhAE-0005Z2-Lg; Thu, 07 May 2020 10:06:15 -0400 Date: Thu, 07 May 2020 17:05:56 +0300 Message-Id: <83lfm3kfgb.fsf@gnu.org> From: Eli Zaretskii To: jan In-Reply-To: (message from jan on Thu, 7 May 2020 14:39:28 +0100) Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: <83r1vvkipf.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41124 Cc: 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) [Please keep the bug address on the CC list; use Reply All.] > From: jan > Date: Thu, 7 May 2020 14:39:28 +0100 > > Tried it in windows with -Q > Works as expected in *scratch*, but create another buffer (C-x b asdf) > and it does not. That other buffer is in Fundamental mode, right? Font-lock does nothing in Fundamental mode. From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 11:36:17 2020 Received: (at 41124) by debbugs.gnu.org; 7 May 2020 15:36:17 +0000 Received: from localhost ([127.0.0.1]:43764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWiZJ-0002oW-Jv for submit@debbugs.gnu.org; Thu, 07 May 2020 11:36:17 -0400 Received: from mail-pl1-f174.google.com ([209.85.214.174]:33398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWiZE-0002oF-O1 for 41124@debbugs.gnu.org; Thu, 07 May 2020 11:36:12 -0400 Received: by mail-pl1-f174.google.com with SMTP id t7so2203103plr.0 for <41124@debbugs.gnu.org>; Thu, 07 May 2020 08:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=YVeGVLjm++1P9tjVhZZcUI4spJl8+fLQvHKJxC/9rj0=; b=PDG48q270XKasTZ46tq1Z4rJcSTw5EGtZ9KHRB/pVPvWhjK2p1XE7Sck50Ra1aWsXy oNG8NYWPGhroqnRMwcwbXBbtQ+WNYTRBZBWXx6HdgXxbr7qhmGc/e3Pw5ISXuosqRZxo J1ZjOzDVE+07YZqgZ68kS7li59PQZbS+aRTOHAFu0eUqngIUbqUytcSpFDV7Q55pDUXa STVi6k13CZ4Eb7u5yWxUq+bQCDFLjbssS/xY1kyuqHByVw4fHJFnC4VwvPEhxUNiKG/P NjyyQCsYMAsiVgjMG/vKEx7WeCF+JJZYdG/RmOoth+gmi6pKwwYQLaAj3M7Iz9u/aBpU LnSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=YVeGVLjm++1P9tjVhZZcUI4spJl8+fLQvHKJxC/9rj0=; b=Gi9uYKksEDKm+tMI2Yhkfeqg9kdkmSTxZPIOe/OBtNA1ybMLJK/1RWwe5MgLjJLrg/ bLewcf49X42y0HYfHCjGHVprHAYdiWnvY+0zqW1KNZ7eEzeYHbG4T1tRc/Z6bAjJXhqN mwfS92+oCZMbb9GhB1/8rZfugC+0u+aqj0p4Vh3ZRupxPWeV4Cib8aBCc8bps7lT7BUm UAKY1YHjH0f+fhGQK8olyO+EKgVOjKFvdG0l/u3EEzu/2N0Tx6DLDG/Z6PAzyJnoheyx tQDpEHEeqkZ6guz1UHVXy2VAZNukRnHz3cG0QYP9rume4QCrmAUzBs55xdBTu1cichXl gvEA== X-Gm-Message-State: AGi0PuaBYonGG0XIc86UX5VdnqZUSbQdLElHBR5T8Jo88/1+Io5XE1XJ d+joeIujxg47h6CcuAbfIQRfXx3hW40/I3KGsaY= X-Google-Smtp-Source: APiQypKfyW28o3eDfdQGWbuLtAAm2sad+wNPNsLtycnVl/s++9r3xpAP58IPpZ+dIN9Ud7Ela9Mp8L3nBw87cerVxmc= X-Received: by 2002:a17:90a:bc4a:: with SMTP id t10mr715147pjv.104.1588865762716; Thu, 07 May 2020 08:36:02 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:9a86:0:0:0:0 with HTTP; Thu, 7 May 2020 08:36:02 -0700 (PDT) In-Reply-To: <83lfm3kfgb.fsf@gnu.org> References: <83r1vvkipf.fsf@gnu.org> <83lfm3kfgb.fsf@gnu.org> From: jan Date: Thu, 7 May 2020 16:36:02 +0100 Message-ID: Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41124 Cc: 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, I don't know much about modes, I'm an emacs user rather than an emacs programmer. So yep, it was fundamental. I'll do some reading on modes tonight. But FWIW I found this originally happening in another mode where I was trying to identify large chunks easily. So while this is surely my mistake also, to reproduce, I dragged a.txt file from a git repo into emacs (again, windows - started with emacs -Q to be sure) It said 'git-master' in the status bar. M-x describe-mode gives Enabled minor modes: Auto-Composition Auto-Compression Auto-Encryption Blink-Cursor Diff-Auto-Refine Electric-Indent File-Name-Shadow Font-Lock Global-Eldoc Global-Font-Lock Line-Number Menu-Bar Mouse-Wheel Tool-Bar Tooltip Transient-Mark I can reproduce my 'wrong' behaviour in this text file. I wasn't expecting that. So FYI and this is surely just my misunderstanding, sorry for messing you around. jan On 07/05/2020, Eli Zaretskii wrote: > [Please keep the bug address on the CC list; use Reply All.] > >> From: jan >> Date: Thu, 7 May 2020 14:39:28 +0100 >> >> Tried it in windows with -Q >> Works as expected in *scratch*, but create another buffer (C-x b asdf) >> and it does not. > > That other buffer is in Fundamental mode, right? Font-lock does > nothing in Fundamental mode. > From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 12:54:27 2020 Received: (at 41124) by debbugs.gnu.org; 7 May 2020 16:54:27 +0000 Received: from localhost ([127.0.0.1]:43812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWjn1-0005Bs-2i for submit@debbugs.gnu.org; Thu, 07 May 2020 12:54:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWjmz-0005Bd-KU for 41124@debbugs.gnu.org; Thu, 07 May 2020 12:54:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54471) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWjmu-0004Qv-9y; Thu, 07 May 2020 12:54:20 -0400 Received: from [176.228.60.248] (port=1857 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jWjmt-0006qk-Li; Thu, 07 May 2020 12:54:20 -0400 Date: Thu, 07 May 2020 19:54:05 +0300 Message-Id: <83k11nk7o2.fsf@gnu.org> From: Eli Zaretskii To: jan In-Reply-To: (message from jan on Thu, 7 May 2020 16:36:02 +0100) Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: <83r1vvkipf.fsf@gnu.org> <83lfm3kfgb.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41124 Cc: 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: jan > Date: Thu, 7 May 2020 16:36:02 +0100 > Cc: 41124@debbugs.gnu.org > > But FWIW I found this originally happening in another mode where I was > trying to identify large chunks easily. Which mode was that? > M-x describe-mode gives > > Enabled minor modes: Auto-Composition Auto-Compression Auto-Encryption > Blink-Cursor Diff-Auto-Refine Electric-Indent File-Name-Shadow > Font-Lock Global-Eldoc Global-Font-Lock Line-Number Menu-Bar > Mouse-Wheel Tool-Bar Tooltip Transient-Mark These are minor modes. The font-lock operation is determined by the major mode. You can tell what major mode is active in a buffer with this: M-: major-mode RET From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 13:29:56 2020 Received: (at submit) by debbugs.gnu.org; 7 May 2020 17:29:56 +0000 Received: from localhost ([127.0.0.1]:43862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWkL7-0006Fl-4H for submit@debbugs.gnu.org; Thu, 07 May 2020 13:29:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:52164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWkL5-0006Fd-FM for submit@debbugs.gnu.org; Thu, 07 May 2020 13:29:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWkL5-0003Wb-4K for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 13:29:39 -0400 Received: from mout.web.de ([212.227.17.11]:59749) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWkL4-0007kV-5y for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 13:29:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1588872567; bh=IXvqg+hTOzfa/exU6idCZbklocRLTGusaWxrzYQW/MQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=nsbKO91riTHWe97qejwE0Lzqd85qNgmU8jyZLEnyLocc+7BaZI67FbXcSlbV4ZMb0 9Gl45iipt9VDFYXZuifw4DdL/AcKSTiOaMLf5jkcP+IjJtOd4+R9yqFB3dnT3TSu0I vUpk9+OMXYBw3KC34gTOl1JMMX6YIXLPHYB2Xwow= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([94.218.214.40]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LbrQm-1inojC3Bps-00jG1w; Thu, 07 May 2020 19:29:27 +0200 From: Michael Heerdegen To: jan via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: Date: Thu, 07 May 2020 19:29:25 +0200 In-Reply-To: (jan via's message of "Thu, 7 May 2020 12:32:27 +0100") Message-ID: <87sggbwt56.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:cxhgK4axet+KyBRr9wthhaFNJ8+ifO2/WWdRS1EPPiqs3K21wLD bmPTEdsk4Z79EQNpFSOOje8elkeX1O3FWcSzZhIGqrtYUQVeyVRk311+/KmwK2ECHXkf+bD GvqJHrZnZ9UVRrx1BWp9sJppNu3Dv4uH0BUzUwj7qje3Oyb/ljls1VXeY4ZvF5h0woZnGVX lx4UWczOWKUgohtkkmwDg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:jSfLWnTN4hk=:AOnMT3/mjKpgp0py2EXdiM ae6ABMQ65UVW0K/iyPCbgYkm+K8CEAIYYbuXhbG3f3G/ft75RzIel+W3g+Y3Xlovn5JGQbuyG nD0HpgBcIaLuxrTbYxglBiMs/+NmiH1hcbPKdl1DAawClPttt3UNjkeN5YYS8hTR4IZqg7r4B oZfIZUEBdx1p6Mhf5QvGrVlUUU0mybzlr2LJVCZHas9ZxjHT8fH4BqEzBsfPck9cnyen8vy0+ iTsuksPAU+D/UgDHw7vNxt3ZOlwf+kiydpcARExYraCoeTBB3XvnNADgISmdn3QPtEqBCgn04 9m+pVPNe/wtvBBsnmSMyq2JqL2QiiLTQDcQOm6PVJrW41JVJ1srWHWKbtAeuHbfAzb8Bx1ER3 FUEyKE293lAUXzbdMDLPYaOIu+yDHgU8rEFUPpkGuRIbA4fnkt3AV7ycq5A/0Y9dwwS70s2Uq FpA7TcDmYAMZg8C4nkh7/qufKdImG4q44FsgfV7ZeGXl6NdUpWQBGbWCpW10CZ5RrpaWtCvon Md/dVfzzeqdBhuR5gBPrPDLTfmMK1dfgg1IXPU0CoKQEXoW4JWOzkCAdBp5mHKpqS1qCktXWL FFGxSxZjIT6Sge6o2+HTdBr+XVgAx1qHNBeST2l8CwHY1TpNtr5ZV1eO7vol9KV09nEszoIew a20qPYvNjO9TfuOvo6clby26c8I7ptcQ3sVF61uj7ZN7uWIdCuj+OL2wY76qxLTWnwZJd7Vgm 6G/Jle2qT55dQAQ7V/Ik9lsL0zaB1p2RCYqZ0YxwTEO17HC95UYEN9L4MhgMyJV0UhoevHA9Q 4i/Z9Tzw0hRrSvAC/5vIeVlHeM34G+7Kt4G9jwLI3XYzUjYrwvXd4g583OGqQvzd96TBsvScS cUlYa3P+FjDOqZ0jrLO9vLQUeuTdR7h6OWr22grUN7Va1peH04Z+SW2WCQfREh2Ty5vwhLYgd /tYpTBVnMNKQVQSI8L2YUU9zHXW32JxZij2affzY8FYFOZx4AqNeDrmCR8GdUAVAoj82jK3pC rSWBsnTbUsEGxMYyiNjyUmRP3P8MoSaIOOM1lCtJKGXrJRHbW9DYTDTcLuOYJqV8rlwtCbbcx t5LegV+ktftXp7e8wQ2d8LeCjy7fqE0kyJc5UAKwQKJNJ7kebpvw6HotaYrxsR0iPxfix1Hkz 6C1OX3DU90l3b4fwF96mAUgIzHunWAFWLeOORiJhb4Ee2ifwguoNy3VwqeqKkLQrmOArW2YOi OlNm5Od1ZVRxUCuK0 Received-SPF: pass client-ip=212.227.17.11; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/07 13:29:35 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: jan , 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) jan via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > First ensure font-lock mode is on. Prefix arg forces it on. > > C-u 1 M-x font-lock-mode > > Minibuffer says font lock mode is enabled @jan: The test that hi-lock uses internally is actually (and font-lock-mode (font-lock-specified-p major-mode)) so you need an implemented font-locking in your buffer. I guess this is intentional and has its reasons. But yes, it is surprising. @Eli: the docstring of `hi-lock-mode' just says: "In buffers where Font Lock mode is enabled, patterns are highlighted using font lock." That's wrong, I think the docstring should be adapted. _Or_ hi-lock-mode could query the user whether he still wants to enable hi-locking using font-lock, with the risk of messing up other highlighting that doesn't come from font-lock. Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 13:32:26 2020 Received: (at 41124) by debbugs.gnu.org; 7 May 2020 17:32:26 +0000 Received: from localhost ([127.0.0.1]:43870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWkNl-0006MN-Ls for submit@debbugs.gnu.org; Thu, 07 May 2020 13:32:25 -0400 Received: from mail-pj1-f46.google.com ([209.85.216.46]:51481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWkNk-0006M4-Fk for 41124@debbugs.gnu.org; Thu, 07 May 2020 13:32:24 -0400 Received: by mail-pj1-f46.google.com with SMTP id mq3so2942718pjb.1 for <41124@debbugs.gnu.org>; Thu, 07 May 2020 10:32:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fJe0/FI7eRUJi9ylUUPca74SjyTYWHWyI/dsEfQ7Zg8=; b=cb9+ET0mkpA3M25NGPP9/FrDqYVePKCw23339UnT1cWcB/Fg7AcK3NoGULPj/mPiBu FBxAVk6nsfuFfiPGBmCZbuTNfassyKfKucvirECL1zmGWDhG1hmS3+PzP41NmAdSr8N2 YgzMoOuwyH1g0gdX2tetztOkfw47cB0SZV/ryQIQbAjXWCqCtx+xyuVvnTjHnP49Eymm Ao3jfl44BpjNTL1VItTzNGOApMfEO7I0/Y41zZ2c5n5RsjxUqGEMVYnw3XUD/G+tWU40 e+COR8F5YgL1puHaoFlf3CrDzFEQD/7g++baxLcYodaR6gLOF/+mnkrv04OAlX199Dwa oU2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fJe0/FI7eRUJi9ylUUPca74SjyTYWHWyI/dsEfQ7Zg8=; b=Oqfki7z9lOecvbRsSwIZaD3zGyN8pGJleB0uU+zjGNjucmK8P1YrUEXpIu65Uzo96g yXETPLVYf6jWErtys4zd6FM2ltDzd5bjPg4mKyeerlsUDKvlm1NRkkuZZax+i9QEIK4n CRzSWBpeAzdHG10XlDPA2+6rB4V72JGJ1sNEGLq8Io4wOqIVW28poxbKY1a8LKvCnAN7 iWyqIdmazs8Mdg3NgpfPQ5XNSSCpmBo44kFb1m15yFpNQ+f1wlTklR6fK7EmC9zvGGiC 523u7nUZAmViQcUWwdNU/Fw0f4SR6jg10EnAybrk1jUEqgPjMfKk4pgKR3L07c0ZPM/U 7Kgg== X-Gm-Message-State: AGi0PubBZ1MAFgXRe0L47opcy8tw+6bejWC19d6Vn/TfayeeByL6l9op QJfrlDCwq+Cyeih62pXLUD5aP6RQ/UHZdPdmwxqiAN6c X-Google-Smtp-Source: APiQypIWblWKvSdZLWUScOWnG4lnxpA5xxUMa+rgu8xps5NqrozK/wtldM/E+FN5pptGa4ZT7tg+7mh2husjGoactGw= X-Received: by 2002:a17:90a:bc4a:: with SMTP id t10mr1239794pjv.104.1588872738540; Thu, 07 May 2020 10:32:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:9a86:0:0:0:0 with HTTP; Thu, 7 May 2020 10:32:18 -0700 (PDT) In-Reply-To: <83k11nk7o2.fsf@gnu.org> References: <83r1vvkipf.fsf@gnu.org> <83lfm3kfgb.fsf@gnu.org> <83k11nk7o2.fsf@gnu.org> From: jan Date: Thu, 7 May 2020 18:32:18 +0100 Message-ID: Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41124 Cc: 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Doing as you say (M-: major-mode RET) it says it is in text-mode. jan On 07/05/2020, Eli Zaretskii wrote: >> From: jan >> Date: Thu, 7 May 2020 16:36:02 +0100 >> Cc: 41124@debbugs.gnu.org >> >> But FWIW I found this originally happening in another mode where I was >> trying to identify large chunks easily. > > Which mode was that? > >> M-x describe-mode gives >> >> Enabled minor modes: Auto-Composition Auto-Compression Auto-Encryption >> Blink-Cursor Diff-Auto-Refine Electric-Indent File-Name-Shadow >> Font-Lock Global-Eldoc Global-Font-Lock Line-Number Menu-Bar >> Mouse-Wheel Tool-Bar Tooltip Transient-Mark > > These are minor modes. The font-lock operation is determined by the > major mode. You can tell what major mode is active in a buffer with > this: > > M-: major-mode RET > From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 13:58:22 2020 Received: (at 41124) by debbugs.gnu.org; 7 May 2020 17:58:22 +0000 Received: from localhost ([127.0.0.1]:43882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWkms-00073s-2K for submit@debbugs.gnu.org; Thu, 07 May 2020 13:58:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWkmq-00073f-Pq for 41124@debbugs.gnu.org; Thu, 07 May 2020 13:58:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55822) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWkml-0003RP-Ef; Thu, 07 May 2020 13:58:15 -0400 Received: from [176.228.60.248] (port=2073 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jWkmk-0005N8-H9; Thu, 07 May 2020 13:58:15 -0400 Date: Thu, 07 May 2020 20:58:00 +0300 Message-Id: <83ftcbk4pj.fsf@gnu.org> From: Eli Zaretskii To: jan In-Reply-To: (message from jan on Thu, 7 May 2020 18:32:18 +0100) Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: <83r1vvkipf.fsf@gnu.org> <83lfm3kfgb.fsf@gnu.org> <83k11nk7o2.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41124 Cc: 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: jan > Date: Thu, 7 May 2020 18:32:18 +0100 > Cc: 41124@debbugs.gnu.org > > Doing as you say (M-: major-mode RET) it says it is in text-mode. Which I think is the same as Fundamental mode wrt font-lock. You need to be in a major mode that defines font-lock settings. From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 13:59:06 2020 Received: (at 41124) by debbugs.gnu.org; 7 May 2020 17:59:06 +0000 Received: from localhost ([127.0.0.1]:43886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWkna-00075L-Bq for submit@debbugs.gnu.org; Thu, 07 May 2020 13:59:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWknZ-00074m-KF for 41124@debbugs.gnu.org; Thu, 07 May 2020 13:59:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55837) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWknT-0004dt-UZ; Thu, 07 May 2020 13:58:59 -0400 Received: from [176.228.60.248] (port=2119 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jWknR-0007MM-U1; Thu, 07 May 2020 13:58:58 -0400 Date: Thu, 07 May 2020 20:58:44 +0300 Message-Id: <83eervk4ob.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-Reply-To: <87sggbwt56.fsf@web.de> (message from Michael Heerdegen on Thu, 07 May 2020 19:29:25 +0200) Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: <87sggbwt56.fsf@web.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41124 Cc: rtm443x@googlemail.com, 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Heerdegen > Date: Thu, 07 May 2020 19:29:25 +0200 > Cc: rtm443x@googlemail.com > > @Eli: the docstring of `hi-lock-mode' just says: > > "In buffers where Font Lock mode is enabled, patterns are > highlighted using font lock." > > That's wrong, I think the docstring should be adapted. Please suggest how to say that better. From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 14:25:10 2020 Received: (at submit) by debbugs.gnu.org; 7 May 2020 18:25:10 +0000 Received: from localhost ([127.0.0.1]:43901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWlCn-0007nq-OR for submit@debbugs.gnu.org; Thu, 07 May 2020 14:25:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:44284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWlCm-0007ni-9O for submit@debbugs.gnu.org; Thu, 07 May 2020 14:25:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWlCm-0001ND-33 for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 14:25:08 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:39825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWlCk-0000Zd-HF for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 14:25:07 -0400 Received: by mail-pl1-x633.google.com with SMTP id s20so2395119plp.6 for ; Thu, 07 May 2020 11:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=+P3b1de8uULFUuGyPoc1z7eP2+uoKJxWSdhyOcUOnpo=; b=PgPTSGzStS8dY33DZjxnvHHOb3uIqEihs39wjOtH6kMfD6B/yFMBfp8/goT1zzl5eL JWzn86AwCY1h9+X0kCz1NVN3eKZeXIJSbsojoz9+JJITdB9QcXMYSAxtheRrMZCa6PLv Pb4icdazTduYlXGfksuO4Bo0BPFNH3X1zsJ9VNzuBedTj0sBjj1I71OMdpoKUlh8zNoe /IXTf7ydnnAzobi/C6PQXBSRf8tzuMbifHR+Eqn+W69W7v3CJEQ4gHDzR6PTqg1MNmne 5LzrqErNODb2dKaKzqbfUGzUhXre3vGVEdQbLA8oy15dtLLX2S/spXbAB9QkZGLomJxn v8kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+P3b1de8uULFUuGyPoc1z7eP2+uoKJxWSdhyOcUOnpo=; b=O1kEmuUxfJ0Yvabuy2MLBG9+S0XBbR+zZ1sr8u+jD61CyhuDr1m8HD5F16VOp0WlqK BLJ9CRLbCMZvz4NygmXZKhmurQNcHwc7bPokA0GaS5RJSN3EDD77UfXawO9WldrMTQi7 t+WIPoE4YVTA//rlPc+FCxy4zzc6P1xHIeAo7k1gUvjOIYT6qExrw+dOU85qsLWKVlGd PWssYXp6G4MLgkIRbRDF4KwujlCROuYXNMYoANzeb3VsDz4Nj96Dv+TkBrXJhJ1rzngs RCfJXZhO4kzvpw+Vf08r1kGfnscVEc9Q/hoJh01gX2F8CCE9cSU683gKONEIULL7IEmO QqrQ== X-Gm-Message-State: AGi0PuaVmBZW9S3w/4y2z5Ea8clKKcjgLMB63fLY9TaEZHe/EY5IxI98 ci+bDE0fTU0JSrhwZnL80efk8vwLSYom5DU/BUo= X-Google-Smtp-Source: APiQypKQCowpZXxBh0Wu1FWbRo+FQInsuA6m6PDqFnxgNDh3aFEhaUkxdFueirdDOg4lt7KEh/YjGk2fiqXEDPRf9p4= X-Received: by 2002:a17:90a:bc4a:: with SMTP id t10mr1482734pjv.104.1588875904880; Thu, 07 May 2020 11:25:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:9a86:0:0:0:0 with HTTP; Thu, 7 May 2020 11:25:04 -0700 (PDT) In-Reply-To: <87sggbwt56.fsf@web.de> References: <87sggbwt56.fsf@web.de> From: jan Date: Thu, 7 May 2020 19:25:04 +0100 Message-ID: Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type To: Michael Heerdegen Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=rtm443x@googlemail.com; helo=mail-pl1-x633.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "jan via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I don't understand this reply as I'm very much an emacs user not an emacs programmer, but "...could query the user whether he still wants to enable hi-locking using font-lock, with the risk of messing up..." - this kind of thing, letting me know I can't have what I'm asking for (or can but at a risk) would be helpful so I know I'm not going to get it. I reported this as a bug out of ignorance, some hint from emacs that it was PEBKAC[0] would have saved me wasting Eli's time. jan [0] On 07/05/2020, Michael Heerdegen wrote: > jan via "Bug reports for GNU Emacs, the Swiss army knife of text > editors" writes: > >> First ensure font-lock mode is on. Prefix arg forces it on. >> >> C-u 1 M-x font-lock-mode >> >> Minibuffer says font lock mode is enabled > > @jan: The test that hi-lock uses internally is actually > > (and font-lock-mode (font-lock-specified-p major-mode)) > > so you need an implemented font-locking in your buffer. I guess this is > intentional and has its reasons. But yes, it is surprising. > > @Eli: the docstring of `hi-lock-mode' just says: > > "In buffers where Font Lock mode is enabled, patterns are > highlighted using font lock." > > That's wrong, I think the docstring should be adapted. _Or_ > hi-lock-mode could query the user whether he still wants to enable > hi-locking using font-lock, with the risk of messing up other > highlighting that doesn't come from font-lock. > > Michael. > From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 14:43:07 2020 Received: (at 41124) by debbugs.gnu.org; 7 May 2020 18:43:07 +0000 Received: from localhost ([127.0.0.1]:43910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWlUB-0008Ip-Iz for submit@debbugs.gnu.org; Thu, 07 May 2020 14:43:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWlUA-0008IK-1Q for 41124@debbugs.gnu.org; Thu, 07 May 2020 14:43:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56620) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWlU4-00040R-Fa; Thu, 07 May 2020 14:43:00 -0400 Received: from [176.228.60.248] (port=4786 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jWlU3-000206-S1; Thu, 07 May 2020 14:43:00 -0400 Date: Thu, 07 May 2020 21:42:46 +0300 Message-Id: <83blmzk2mx.fsf@gnu.org> From: Eli Zaretskii To: jan In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: <87sggbwt56.fsf@web.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41124 Cc: michael_heerdegen@web.de, 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 41124@debbugs.gnu.org > Date: Thu, 7 May 2020 19:25:04 +0100 > From: jan via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I reported this as a bug out of ignorance, some hint from emacs that > it was PEBKAC[0] would have saved me wasting Eli's time. Don't worry about that, you didn't waste mu time. From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 19:12:31 2020 Received: (at 41124) by debbugs.gnu.org; 7 May 2020 23:12:31 +0000 Received: from localhost ([127.0.0.1]:44129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWpgt-0002kd-CU for submit@debbugs.gnu.org; Thu, 07 May 2020 19:12:31 -0400 Received: from mout.web.de ([212.227.15.14]:43513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWpgr-0002kP-1E for 41124@debbugs.gnu.org; Thu, 07 May 2020 19:12:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1588893142; bh=a8FJ8M8n0a0AIB/Akh5ZP58Ah6UhasOHC1/HM5TvgbA=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=YoXrYdlIQOO6RXZVw9+jhQjJAQrKI98azW0Zh8OLw5ItGfo7Wj8WWZIpt3uXKlXtj L9WRpr3VZcGNcuj3LekCAFB87HOQk5z9bT68eDIZr6KhxtKilrdVbOTXE2okEtWLTQ WQqhr6Nm/FGHVq16hIhP2OFbtv62j9LponfRUQWg= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([94.218.214.40]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LlJzS-1iwwdc026A-00b05b; Fri, 08 May 2020 01:12:22 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: <87sggbwt56.fsf@web.de> <83eervk4ob.fsf@gnu.org> Date: Fri, 08 May 2020 01:12:20 +0200 In-Reply-To: <83eervk4ob.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 07 May 2020 20:58:44 +0300") Message-ID: <87blmz8hm3.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:w5qd948xdrJx9jgdmebfRanAlYGPNDp9yIvgXbrSRxQ7zocGre2 JmlUwWi7RjWaRRoWRhbIXAePXEmxKR0rR/verFQ91fHmb5M+JrzeQXYbrRpZURwyYvLRwl6 CV/eO9gZvufytMw7i+R9pC0YSuwMCT/pnWd7acV1hdw9ruidhhw5XLyfEXAe/PPJbENzOSS 93uH+rtI6J+WLLb4HpC3g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:vJ8qQkOgF4c=:0GWCFEVUcgE+4KU/CVzk+G xNdbuN4GDZXnisoyyqkOxClAuIqv4h0WUqvaMCVA3zJi4a8YAt4yy5oAGBj+p2lxEGM0Q77HR 1sX7MlBKw/pzBctTXTtzqk7TPABawOCRLBDbZEbJGmGN4I8aoXbeMr8ina5Nz/1obR2yVBBNt zlM4QclwUGV1/YM2XzUPPX1O3TausOF8DbzrLGwKYmivdDO36b+1SR3Em0qiXqRc6Kr2nc/in wzzEXOCPzL3lze7nNS2BjI5oXQH4rP9066qzR0F22s1CI+6s0qLNP6lmRnpFR0Co9GxTOjt/j CT4Yj3oCbQTSJawZUzIpqzmYYAP/gpfzJyVo8Vzr0bZxuYwHL1m9us6DeV/zHubgTfuux3fGL SIdp7gmHM6rUnjHl+GYkC+9RPDWPNj1M5GSxk+eh4jugYeSoHrwICNmuMK4yl3q2jpK8ElcOA mNMEy/AdtIgCfYyEIZTFjuH0Df3lxZvVBfjAbnH6jtV1Mmj2fxbczHz7tgiZYaTXHhrTCEgmP 9lZEJESyBrEI7y5Jee1TyzowtHLCfBq2ToHj6dUrm15gEvZabwPGB2mBZe/JxgSdWf7/pcSSj 2QPlLFZQoffUL/P3tlBfTBpEDuF2hWuNp5AtaNOAtut16mqbw1Vhjzxxy5uuglJYoH1IsF8dq PD0Lb+FstUAzr5/LEIwc6/CKaofdGM4t7TJieS036XY830i1re596DYUZs7CZi6+kA/bObW4M IOYktImBaD5KhwftTzG78N4wgIXLYa79mOMAf6Dm4+ghtgzUSZ+6RnABnCQM5qu8e2oy1xv/j wGB9IVEurb/4B9TuUw5L3dxBljvc3prXyyuaZF6cJ8+pGW+eKrapIBYHDaU8BsZvxVvLLR6wR 6MMM/BZa13c6szOUl/n2ZnfYXtCuLdYyrK1w/yNDmsWnfKb0yG9cwJ9qFHtSjwc45q7P7kz1B +1juW8dP5KdGvjbkWK5PbzOMZ5WqT109SnlXeMOpyVtdOd50W2KPazNJ0K17tGAq3eaDYdIW/ X7tRZL+Swv9yHYMMuFhU0+U03Mkq27TglBDuOb9jsi2NAeWULlVize4xydp0cImM3qkD0iaxD Zog3FATFDDxTLK1nkgWGAsGw+ggANouhMq9qyG9MvJTv05qUCYtLFcDb7qRa71wxULAHL2B3R nF9/dN5hBp8fw9qQbHRQkrZQzEH/jbqyRbEKdyKqWhGFhq130QsLvJ8SDSdnbHhrqYyZ+I1Uw i6uunThT34U497wVN Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41124 Cc: rtm443x@googlemail.com, 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: > > @Eli: the docstring of `hi-lock-mode' just says: > > > > "In buffers where Font Lock mode is enabled, patterns are > > highlighted using font lock." > > > > That's wrong, I think the docstring should be adapted. > > Please suggest how to say that better. "is implemented and enabled" maybe? We could also say that Font Lock mode must be enabled and the MODE must fulfill `font-lock-specified-p'. Or a combination of those words. Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 19:20:35 2020 Received: (at submit) by debbugs.gnu.org; 7 May 2020 23:20:35 +0000 Received: from localhost ([127.0.0.1]:44137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWpog-0002xw-FA for submit@debbugs.gnu.org; Thu, 07 May 2020 19:20:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:58004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWpof-0002xq-FE for submit@debbugs.gnu.org; Thu, 07 May 2020 19:20:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWpof-0002hJ-7o for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 19:20:33 -0400 Received: from mout.web.de ([212.227.15.4]:48957) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWpoe-0002PR-7Q for bug-gnu-emacs@gnu.org; Thu, 07 May 2020 19:20:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1588893623; bh=TQO5MtbimCjSKSw9ndJnAJ1x+XT4IY69QqBBUx1y8m0=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=eoYXnIV1i6KkumZso11H10vLlv0OfWzsIJLCweNzNPb3DOHaFhZ7glCn8tjpDZLvH 6ZimoXR74zRi+fwsDcjVEKfoIJVRt5AyvoRewVd/+j0PloT8rGIT1eWD9ivGvSmb2F /x3EGqzl+Cd1ZhkxicgHQGo4WcfLDGP1J3MX/Q70= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([94.218.214.40]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MCGSU-1jOcKq3xgY-009SrP; Fri, 08 May 2020 01:20:23 +0200 From: Michael Heerdegen To: jan Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: <87sggbwt56.fsf@web.de> Date: Fri, 08 May 2020 01:20:22 +0200 In-Reply-To: (jan's message of "Thu, 7 May 2020 19:25:04 +0100") Message-ID: <877dxn8h8p.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:UjMtOvIGqIipMeOM45bGOhnmoNNX7Z5O1awhzm7bTz+1mX2Sdp9 VxZ8705vSPLjaY53aMci9ZOArpwAmsqr+7uF7Jzjl2UsvnCNEBRIX967BqLZFhG4SkWCjWL dSChGTC2D6odj4iRmM7KvYx+g/dE3YnbtxHQ5d1AQw+pqOfYCBvHy+ZMk3uAEz4T5hkwr4d KMzHIyhOS1aFX9hOMkpfQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:6hvna2hJwew=:NdP9E5iHrU68TjlabdFD77 uE0f1Xq5Kw+XAuIOAB3u6ygjcVIsMQ1CAGarjLj5l2y7jMS/rAjth16v/ce0AzgdyOTAwMd3+ +mBC0lGdP4kVzhxl7np1XhF5IzLb8xbC8baM73mM4jbXy6ad98APBg9J2s5oFFAt2tGBRNWv0 CdzSCRsvVh1RgbPMr0vaT6YYIawnHVmiM8sjL8Xsf6WklcOH9MOaLUsVthCr3DWAZvKzmR0Hj wVM/ksid9SHf6kdld7UYY3Qcu6+v+HzT1S+d9JWeKOydDSfnezUBnlM5YU9qViobQdWLzFG4O WTUz/R1pXAbIdxSIE/5UkZh242eEabKlL1wgwso4tXUUQ88A3wA/PZxuQBJof1qWLdZu7b3Ek 9mrSqgMdAfz+fRnha5/rEbOFddOXG/7gSNUxcpHPbkToOEP1T8rqukhwVxw1vTI0z4euCQOl3 QPydou2mxR1jAGm2CrmSbK6nN493ldv6u7Shl2+rLNOovSLvDh1xVZptQ3CRWT5FfiYcMjl7V zaUVzwgYdIrvuHvf+uU/j0uJE/VSO+/HDGNmgT3bTRX91XwvbDvDvtOAG2CASLCxRK1FzPikZ wS6YN6mwgzaHOrJZ4kAMju3pMNc6m0GuNJp+Q5RE0JCieCIANPqCAa/R+byjMqlAFt8kJ9Rvl 94WKDSVD4jEOrXQnTZFDujEpsXKC6yrQwEu7fVHqN7jWOm1zLg+ATq3bmRp1tHLhuM9IAqEru +5DtvPZXpqXnJVglAsNERHW6R5lbrkEH6A9lnW30tMsLrKNHJKQY9RVKXXFNbBA9trH7FoXG4 Fa/2dhW0lEpjKmVvLefntGdbS85KDvSHfuPWbts+GS1SvI22y71UR70KWNCS4T792XDSpj1Iu 25cZkFeRrQSEAsB1YJDAhtwoZ0Y0BJDouSI1KEWl8WY9SGKSDA+w8QQnpyRRIoD0WD4GSK0bb l9dZVZu+k4kl2BfLvtJHl9xq4KuVXx3MLxuNIrwoNXxgkghZEp1nEKyh6iInB33m30IdwI81e XPu0uEUgWFA/cslVe1S445IW3apEBHut4sCHNktQ0cDXYQzhNhEkRyuQ403Qfrak2OR3xwF7A vGuSpuB7zVEa7DWg3MoJY4yd8hZehWVIaKh8fxO4/kAc1j6DBwl3maYRI7N/wyykkicEPFn+T dqXxWaHZkx/0C7oLmTqDnSONJ4GzaiSZn1umi5v/XSkXaRQIT/O4uZNHvlZIvaQe6iGhThV5Y yVqliMOvmguuDezDb Received-SPF: pass client-ip=212.227.15.4; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/07 19:20:30 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: "jan via Bug reports for GNU Emacs, the Swiss army knife of text editors" , 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) jan writes: > I don't understand this reply as I'm very much an emacs user not an > emacs programmer, Sorry for that. > but "...could query the user whether he still wants > to enable hi-locking using font-lock, with the risk of messing up..." > - this kind of thing, letting me know I can't have what I'm asking > for (or can but at a risk) would be helpful so I know I'm not going to > get it. > I reported this as a bug out of ignorance, some hint from emacs that > it was PEBKAC[0] would have saved me wasting Eli's time. What I wanted to say was that your report was totally justified because what the docstring tells about font-lock mode is a bit misleading. Maybe hi-lock could also tell you which method of highlighting it chooses. And maybe it would also make sense to allow using the font-lock mode based method in modes that don't implemented font-lock, I'm not sure. Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri May 08 10:27:38 2020 Received: (at 41124) by debbugs.gnu.org; 8 May 2020 14:27:38 +0000 Received: from localhost ([127.0.0.1]:46015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jX3yT-00037O-OT for submit@debbugs.gnu.org; Fri, 08 May 2020 10:27:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jX3yS-00037C-CY for 41124@debbugs.gnu.org; Fri, 08 May 2020 10:27:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58464) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jX3yM-0000sZ-SC; Fri, 08 May 2020 10:27:30 -0400 Received: from [176.228.60.248] (port=1561 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jX3yL-0003Cn-TI; Fri, 08 May 2020 10:27:30 -0400 Date: Fri, 08 May 2020 17:27:18 +0300 Message-Id: <83d07eijsp.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-Reply-To: <87blmz8hm3.fsf@web.de> (message from Michael Heerdegen on Fri, 08 May 2020 01:12:20 +0200) Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: <87sggbwt56.fsf@web.de> <83eervk4ob.fsf@gnu.org> <87blmz8hm3.fsf@web.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41124 Cc: rtm443x@googlemail.com, 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Heerdegen > Cc: 41124@debbugs.gnu.org, rtm443x@googlemail.com > Date: Fri, 08 May 2020 01:12:20 +0200 > > "is implemented and enabled" maybe? We could also say that Font Lock > mode must be enabled and the MODE must fulfill `font-lock-specified-p'. > Or a combination of those words. Thanks, done. From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 23 08:40:51 2022 Received: (at 41124) by debbugs.gnu.org; 23 Mar 2022 12:40:51 +0000 Received: from localhost ([127.0.0.1]:43016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX0IF-0006Yq-El for submit@debbugs.gnu.org; Wed, 23 Mar 2022 08:40:51 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX0IC-0006YL-5d for 41124@debbugs.gnu.org; Wed, 23 Mar 2022 08:40:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Z7HBUBMbdKI8Pi++UGoCkL7MNXm7VUGqlqZaf0mW+gU=; b=pPC5tOeB2T+DHLjcyQhJnh/TL8 ZMb4oaBhPkATR+On1Tw17gect+Sacz71x5Y/5YmpemfrzN+T7+Gfzlhnvj0Doguq4jILbbZx6FPtf ZI+TOXlNXu0h17OAjLdqDcZiiERqP8pqgQgJ1eXnr1iUI5KEYihRWi8s31bnFaHmz8i4=; Received: from 109.179.236.69.tmi.telenormobil.no ([109.179.236.69] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nX0Hz-0003fY-K1; Wed, 23 Mar 2022 13:40:41 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#41124: 26.3; highlight regexp not working properly - not updating as you type References: <87sggbwt56.fsf@web.de> <83eervk4ob.fsf@gnu.org> <87blmz8hm3.fsf@web.de> <83d07eijsp.fsf@gnu.org> Date: Wed, 23 Mar 2022 13:40:34 +0100 In-Reply-To: <83d07eijsp.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 May 2020 17:27:18 +0300") Message-ID: <877d8kalkt.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> "is implemented and enabled" maybe? We could also say that Font Lock >> mode must be enabled and the MODE must fulfill `font-lock-specified-p'. >> Or a combination of those words. > > Thanks, done. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41124 Cc: Michael Heerdegen , rtm443x@googlemail.com, 41124@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> "is implemented and enabled" maybe? We could also say that Font Lock >> mode must be enabled and the MODE must fulfill `font-lock-specified-p'. >> Or a combination of those words. > > Thanks, done. Skimming this bug report, it seems like this doc fix was all that's required, so I'm closing this bug report now. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 23 08:40:55 2022 Received: (at control) by debbugs.gnu.org; 23 Mar 2022 12:40:55 +0000 Received: from localhost ([127.0.0.1]:43019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX0IJ-0006Z6-NI for submit@debbugs.gnu.org; Wed, 23 Mar 2022 08:40:55 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX0IJ-0006Yn-0N for control@debbugs.gnu.org; Wed, 23 Mar 2022 08:40:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qvGRM0prlrjY9FgCNotmaVPeYgh6e8z9958ZKQC8C6w=; b=GRDxVswvaKt7JDeIU1pQWzdujU +mPNftIVIEjiwt9/jeSBWm3NsyfRa21fSZqROx4rv68NEDupht7rouP4SuSSIZMAqcD8HbV5C9740 g2pwrteSDR40tqTVtwNE/PjASTpfDCAn9aOqMUNPhfi4+/5eEnmkWO8AJB8+hqBmw+6c=; Received: from 109.179.236.69.tmi.telenormobil.no ([109.179.236.69] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nX0IA-0003fl-Ij for control@debbugs.gnu.org; Wed, 23 Mar 2022 13:40:49 +0100 Date: Wed, 23 Mar 2022 13:40:45 +0100 Message-Id: <875yo4alki.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #41124 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 41124 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 41124 quit From unknown Fri Jun 20 07:26:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 21 Apr 2022 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator