unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Glenn Morris <rgm@gnu.org>, 19342@debbugs.gnu.org
Subject: bug#19342: auto-fill scan-error in sh-mode
Date: Fri, 06 May 2022 17:03:24 +0200	[thread overview]
Message-ID: <874k22ln43.fsf@gnus.org> (raw)
In-Reply-To: <jwv35hmah94.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 06 May 2022 10:12:21 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> So if we want to silence the message, all it takes is to use
> `ignore-error` instead as in the patch below, no?

[...]

>          (while
> -            (and (with-demoted-errors "SMIE Error: %S"
> +            (and (ignore-error scan-error

Yup; that fixes the problem.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-05-06 15:03 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-10 21:51 bug#19342: auto-fill scan-error in sh-mode Glenn Morris
2018-12-09 10:35 ` Charles A. Roelli
2018-12-09 15:43   ` Charles A. Roelli
2020-08-12 16:44 ` Stefan Kangas
2021-08-19 13:29 ` Lars Ingebrigtsen
2021-08-29 12:56   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-29 18:42     ` Lars Ingebrigtsen
2021-08-30  0:38       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-30  0:44         ` Lars Ingebrigtsen
2021-08-30 12:36           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-30 15:03             ` Glenn Morris
2021-08-30 15:26               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-31  1:24             ` Lars Ingebrigtsen
2021-08-31  3:29               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-31  8:31                 ` Lars Ingebrigtsen
2022-05-05 13:39                   ` Lars Ingebrigtsen
2022-05-05 20:03                     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-06 11:49                       ` Lars Ingebrigtsen
2022-05-06 12:09                         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-06 12:26                           ` Lars Ingebrigtsen
2022-05-06 12:34                             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-06 12:37                               ` Lars Ingebrigtsen
2022-05-06 14:12               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-06 15:03                 ` Lars Ingebrigtsen [this message]
2022-05-06 15:11                   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874k22ln43.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=19342@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).