unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31231: Symbol search broken in NEWS and ChangeLogs
@ 2018-04-21 20:21 Juri Linkov
  2018-04-22 17:13 ` Eli Zaretskii
  2018-04-22 23:34 ` Phil Sainty
  0 siblings, 2 replies; 15+ messages in thread
From: Juri Linkov @ 2018-04-21 20:21 UTC (permalink / raw)
  To: 31231

Symbol search ‘M-s _’ fails to find symbols in NEWS and ChangeLogs where
symbols are quoted by apostrophes whose syntax is word-constituent.

I see two solutions:

1. Modify syntax tables to redefine syntax of ‘'’ back to its default
   that is punctuation or to expression quote:

   (defvar change-log-mode-syntax-table
     (let ((st (make-syntax-table)))
       (modify-syntax-entry ?' "'   " st)
       st)
     "Syntax table used while in `change-log-mode'.")

This solution is not applicable to NEWS files where
text-mode syntax tables are inherited via outline-mode
whose syntax table can't be changed.

2. In these files replace apostrophes by “LEFT SINGLE QUOTATION MARK” and
   “RIGHT SINGLE QUOTATION MARK” like are used in Info and Help buffers.





^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-08-26 13:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-21 20:21 bug#31231: Symbol search broken in NEWS and ChangeLogs Juri Linkov
2018-04-22 17:13 ` Eli Zaretskii
2018-04-22 22:12   ` Juri Linkov
2018-04-23  2:32     ` Eli Zaretskii
2018-04-23 20:16       ` Juri Linkov
2018-04-24  2:33         ` Eli Zaretskii
2018-04-24  3:45           ` Eli Zaretskii
2018-04-24 19:16           ` Juri Linkov
2018-04-25  2:31             ` Eli Zaretskii
2018-04-25 15:50               ` Eli Zaretskii
2018-04-25 19:38               ` Juri Linkov
2018-04-28 20:39                 ` Juri Linkov
2020-08-26 13:20                   ` Lars Ingebrigtsen
2018-04-22 23:34 ` Phil Sainty
2018-04-23  2:35   ` Eli Zaretskii

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).