From: Artur Malabarba <arturmalabarba@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Re: We need to escape the remaining quotes or set text-quoting-style to `grave' on the emacs-25 branch
Date: Mon, 16 Nov 2015 14:31:48 +0000 [thread overview]
Message-ID: <CAAdUY-+6Us1YvvF8rqc6CUn6-4DmUExZ+10qzGcYrr08ebkzJg@mail.gmail.com> (raw)
In-Reply-To: <CAAdUY-JdD926km_nqywBte1eCegAj00g=FB1uKf1nEu9uVhXtA@mail.gmail.com>
> As long as these false-positives are numerous enough to be encountered frequently, think this makes for a worse user experience than simply keeping the old grave+straight-quote combination.
I sent this prematurely by accident. In case someone actually wants to
fix this manually I compiled of some functions and variables with
wrong quotes. The list was generated by running the following code
after requiring all available emacs features. This likely doesn't
cover all of them, but it shows that there are many.
(require 'subr-x)
(let (fun var face)
(mapatoms (lambda (s)
(when-let ((doc (ignore-errors (documentation s))))
(when (string-match " #?’" doc)
(push s fun)))
(when-let ((doc (ignore-errors (documentation-property s
'variable-documentation))))
(when (string-match " #?’" doc)
(push s var)))
(when-let ((doc (ignore-errors (documentation-property s
'face-documentation))))
(when (string-match " #?’" doc)
(push s face)))))
(vector fun var face))
And here is the list, they are more than 300 in total:
Functions:
(fortran-next-statement
ede-directory-project-p
viper-add-local-keys
display-buffer
hif-logxor-expr
vhdl-prepare-search-1
edebug-print-trace-before
vhdl-prepare-search-2
vhdl-mode
semantic-tag-components
c-basic-common-init
mh-identity-handler-attribution-verb
semantic-tag-new-package
semantic-symref-find-references-by-name
python-shell-send-region
mh-valid-view-change-operation-p
hi-lock-mode
erc-display-line
dframe-reposition-frame-emacs
ses-copy-region-helper
c-common-init
hif-parse-macro-arglist
idlwave-complete-in-buffer
mh-yank-cur-msg
hs-make-overlay
org-agenda-set-restriction-lock
idlwave-all-method-classes
verilog-insert-indices
add-new-page
framep
ses-relocate-range
semantic-symref-find-tags-by-regexp
org-babel-balanced-split
diary-mail-entries
gmm-image-load-path-for-library
flymake-get-system-include-dirs
org-babel-examplize-region
backquote-list*-function
verilog-auto-reset
byte-recompile-file
erc-restore-text-properties
hs-minor-mode
let-alist
avl-tree-mapcar
chart-bar-quickie
semantic-tag-of-type-p
hif-logand-expr
vhdl-electric-semicolon
semantic-cache-data-to-buffer
mh-image-load-path-for-library
ex-compile
speedbar-simple-group-tag-hierarchy
windmove-default-keybindings
profiler-report-render-calltree-1
semantic-symref-find-tags-by-completion
ses-yank-cells
xml-escape-string
proced-sort-interactive
epg-start-sign
semantic-cache-data-post-command-hook
widget-field-find
imap-mailbox-status-asynch
idlwave-expand-equal
ediff-check-version
semantic-tag-external-member-parent
chart-sort-matchlist
js--read-tab
locate-file
ses-relocate-formula
imenu--split
semantic-tag
vc-call-backend
string-collate-lessp
erc-update-channel-topic
semantic-symref-find-file-references-by-name
face-list-p
python-shell-send-buffer
python-info-ppss-comment-or-string-p
vhdl-template-directive-translate-on
hif-factor
feedmail-queue-reminder
ps-line-lengths
mh-identity-handler-bottom
semantic-tag-new-function
ps-line-lengths-internal
easy-mmode-define-keymap
vhdl-template-directive-translate-off
read-file-modes
org-goto
eww-restore-desktop
speedbar-insert-files-at-point
bibtex-field-re-init
image-load-path-for-library
cl-parse-integer
org-sbe
hif-logior-expr
newsticker--buffer-set-invisibility
ert-deftest
ses-range
epg-sign-string
newsticker--cache-replace-age
window-system
keypad-setup
gv-ref
idlwave-do-action
mh-variant-p
vera-prepare-search
sgml-tag
mh-identity-handler-signature
semantic-tag-new-type
python-nav-if-name-main
hif-and-expr
time-stamp-fconcat
python-syntax-comment-or-string-p
hif-muldiv-expr
edebug-print-trace-after
feedmail-confirm-addresses-hook-example
mantemp-insert-cxx-syntax
url-get-normalized-date
conf-space-mode
mh-identity-handler-top
vhdl-template-directive-synthesis-on
define-category
whitespace-mark-x
compilation--previous-directory
newsticker--cache-contains
semantic-documentation-for-tag
electric-quote-mode
smerge-diff-mine-other
url-normalize-url
rmail-movemail-variant-p
hif-define-operator
gud-expr-compound-sep
vhdl-electric-comma
eval-after-load
sh-mkword-regexpr
ses-formula-record
semantic-tag-new-code
easy-mmode-define-minor-mode
xml-node-name
hif-math
vhdl-fix-statement-region
term-read-noecho
cvs-mode-byte-compile-files
eshell-separate-commands
backquote-list*-macro
rfc2368-parse-mailto-url
verilog-mode
sql-postgres
backquote-list*
erc-define-minor-mode
ask-user-about-supersession-threat
table-capture
idlwave-all-method-keyword-classes
vc-cvs-parse-status
vhdl-electric-period
mh-identity-handler-gpg-identity
ad-map-arglists
soap-decode-date-time
hfy-face-attr-for-class
cpp-edit-write
mm-xemacs-find-mime-charset-1
semanticdb-strip-find-results
semantic-symref-find-tags-by-name
image-dired-modify-mark-on-thumb-original-file
vc-print-log-setup-buttons
simula-mode
window-deletable-p
ido-mode
sql-get-login
eshell-file-attributes
list-colors-duplicates
epg-sign-file
epg-list-keys
verilog-set-auto-endcomments
whitespace-insert-option-mark
define-minor-mode
newsticker--cache-remove
ses-create-cell-symbol
soap-warning
org-maybe-intangible
hif-token-concat
semantic-tag-new-variable
idlwave-action-and-binding
ses-check-curcell
erc-update-channel-key
hif-exprlist
hif-expr
semantic-analyze-nolongprefix-completion-at-point-function
hif-or-expr
speedbar-make-tag-line
vhdl-function-name
semantic-tag-type-superclass-protection
semantic-analyze-notc-completion-at-point-function
dframe-reposition-frame
substitute-command-keys
smerge-diff-base-mine
org-cycle-hide-inline-tasks
semanticdb-find-table-for-include
vhdl-fix-statement-buffer
cl-struct-sequence-type
semantic-symref-find-text
dframe-reposition-frame-xemacs
gnus-group-split-fancy
ses--advice-yank
calendar-day-number
vhdl-template-directive-synthesis-off
semantic-tag-alias-definition
semantic-tag-new-include
def-gdb-thread-buffer-command
js-jsx-mode
ange-ftp-copy-files-async
table-generate-source
org-babel-del-hlines
ask-user-about-lock
smerge-diff-base-other
js--forward-function-decl
icalendar--do-create-ical-alarm
semantic-find-tags-included
fortran-previous-statement
vhdl-electric-equal
def-gdb-auto-update-trigger
erc-cmd-ME\'S
f90-change-keywords
ad-substitute-tree
url-http-chunked-encoding-after-change-function)
(setq text-quoting-style nil)
Variables:
(erc-encoding-coding-alist
org-export-babel-evaluate
eshell-in-pipeline-p
semantic-flex-enable-newlines
mairix-widget-other
reftex-special-environment-functions
erc-input-ring-index
calculator-output-radix
bibtex-last-kill-command
r2b-booktitle-abbrevs
initial-window-system
hfy-default-face-def
text-mode-variant
term-completion-addsuffix
speedbar-default-position
vhdl-sensitivity-list-all
log-edit-confirm
desktop-buffer-mode-handlers
idlwave-doc-modifications-keyword
erc-track-switch-direction
normal-erase-is-backspace
comint-completion-addsuffix
ido-ignore-buffers
mm-inline-large-images
message-qmail-inject-args
sh-ancestor-alist
org-agenda-deadline-faces
hfy-display-class
vhdl-font-lock-syntactic-keywords
verilog-auto-endcomments
minibuffer-frame-alist
vhdl-clock-edge-condition
feedmail-spray-address-fiddle-plex-list
ps-left-header
tempo-insert-string-functions
proced-grammar-alist
ediff-grab-mouse
ediff-coding-system-for-read
erc-channel-modes
refer-bib-directory
woman-emulate-tbl
speedbar-query-confirmation-method
eww-restore-desktop
idlwave-shell-debug-modifiers
pascal-auto-lineup
frame-background-mode
ses-paramlines-plist
calculator-unary-style
ses-paramfmt-plist
tramp-syntax
imap-enable-exchange-bug-workaround
newsticker-select-item-hook
iswitchb-buffer-ignore
woman-if-conditions-true
window-system
idlwave-abbrev-change-case
calculator-input-radix
vhdl-project-alist
hs-headline
ido-create-new-buffer
ff-search-directories
ses-relocate-return
js--plain-method-re
reftex-cite-format
speedbar-select-frame-method
compilation--previous-directory-cache
message-cite-reply-position
f90-auto-keyword-case
calendar-date-display-form
log-edit-setup-invert
url-basic-auth-storage
ido-enter-matching-directory
erc-track-priority-faces-only
r2b-journal-abbrevs
gdb-display-io-nopopup
mh-identity-list
tab-stop-list
r2b-proceedings-list
highlight-changes-global-modes
vc-cvs-sticky-tag-display
tex-alt-dvi-print-command
desktop-minor-mode-handlers
erc-log-matches-flag
filesets-menu-ensure-use-cached
semantic-flex-enable-whitespace
ps-left-footer
verilog-auto-save-policy
erc-track-exclude-types
initial-frame-alist
rmail-header-style
url-digest-auth-storage
vhdl-doc-release-notes
idlwave-shell-command-line-options
org-list-demote-modify-bullet
rcirc-decode-coding-system
ibuffer-formats
feedmail-from-line
mh-identity-handlers
cperl-electric-lbrace-space
newsticker-select-feed-hook
bdf-directory-list
pr-setting-database
viper-SEP-char-class
newsticker--cache
erc-button-alist
byte-optimize-log
ede-auto-add-method
erc-fill-static-center
woman-dired-keys
hashcash-extra-generate-parameters
reftex-auto-recenter-toc)
next prev parent reply other threads:[~2015-11-16 14:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-16 14:27 We need to escape the remaining quotes or set text-quoting-style to `grave' on the emacs-25 branch Artur Malabarba
2015-11-16 14:31 ` Artur Malabarba [this message]
2015-11-17 23:40 ` Paul Eggert
2015-11-18 10:43 ` Artur Malabarba
2015-11-18 17:20 ` Paul Eggert
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAdUY-+6Us1YvvF8rqc6CUn6-4DmUExZ+10qzGcYrr08ebkzJg@mail.gmail.com \
--to=arturmalabarba@gmail.com \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.