mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
5c8fc0b059
In some programming languages and styles, a symbol (or every symbol in a sequence of symbols) might be capitalized, but the individual words making up the symbol should never be capitalized. For example, in OCaml, type names Look_like_this and variable names look_like_this, but it is basically never correct for something to Look_Like_This. And one might have "aa_bb cc_dd ee_ff" or "Aa_bb Cc_dd Ee_ff", but never "Aa_Bb Cc_Dd Ee_Ff". To support this, the new variable 'case-symbols-as-words' causes symbol constituents to be treated as part of words only for case operations. * src/casefiddle.c (case_ch_is_word): New function. (case_character_impl, case_character): Use 'case_ch_is_word'. (syms_of_casefiddle): Define 'case-symbols-as-words'. * src/search.c (Freplace_match): Use 'case-symbols-as-words' when calculating case pattern. * test/src/casefiddle-tests.el (casefiddle-tests--check-syms) (casefiddle-case-symbols-as-words): Test 'case-symbols-as-words'. * etc/NEWS: Announce 'case-symbols-as-words'. * doc/lispref/strings.texi (Case Conversion): Document 'case-symbols-as-words'. (Bug#66614) |
||
---|---|---|
.. | ||
charsets | ||
e | ||
forms | ||
gnus | ||
images | ||
nxml | ||
org | ||
refcards | ||
schema | ||
srecode | ||
themes | ||
tutorials | ||
AUTHORS | ||
CALC-NEWS | ||
ChangeLog.1 | ||
compilation.txt | ||
COPYING | ||
DEBUG | ||
DEVEL.HUMOR | ||
DISTRIB | ||
edt-user.el | ||
EGLOT-NEWS | ||
emacs_lldb.py | ||
emacs-buffer.gdb | ||
emacs-mail.desktop | ||
emacs.desktop | ||
emacs.icon | ||
emacs.metainfo.xml | ||
emacs.service | ||
emacsclient-mail.desktop | ||
emacsclient.desktop | ||
enriched.txt | ||
ERC-NEWS | ||
ETAGS.EBNF | ||
ETAGS.README | ||
future-bug | ||
gnus-tut.txt | ||
grep.txt | ||
HELLO | ||
HISTORY | ||
JOKES | ||
MACHINES | ||
MH-E-NEWS | ||
NEWS | ||
NEWS.1-17 | ||
NEWS.18 | ||
NEWS.19 | ||
NEWS.20 | ||
NEWS.21 | ||
NEWS.22 | ||
NEWS.23 | ||
NEWS.24 | ||
NEWS.25 | ||
NEWS.26 | ||
NEWS.27 | ||
NEWS.28 | ||
NEWS.29 | ||
NEXTSTEP | ||
NXML-NEWS | ||
ORG-NEWS | ||
org.gnu.emacs.defaults.gschema.xml | ||
package-keyring.gpg | ||
PROBLEMS | ||
ps-prin0.ps | ||
ps-prin1.ps | ||
publicsuffix.txt | ||
README | ||
rgb.txt | ||
ses-example.ses | ||
spook.lines | ||
TERMS | ||
TODO | ||
w32-feature.el | ||
yow.lines |
This directory contains the architecture-independent files used by or with Emacs. This includes some text files of documentation for GNU Emacs or of interest to Emacs users, and the file of dumped docstrings for Emacs functions and variables. COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES File: emacs.icon Author: Sun Microsystems, Inc Copyright (C) 1999, 2001-2023 Free Software Foundation, Inc. License: GNU General Public License version 3 or later (see COPYING)