Questions tagged [capitalization]
The capitalization tag has no usage guidance.
21
questions
1
vote
0
answers
67
views
Why is auto-complete using capitalized words? Is there a way to change the default of suggestions while in Slime's Buffer?
Recently, I have started using this emacs package: auto-complete. It works and I am enjoying it. I mainly use emacs to work in Common Lisp (SBCL) with Slime.
Unfortunately, the first suggestion that ...
5
votes
0
answers
392
views
org-structure-template Is Only Lowercase
When I type <s+TAB, a source code block is inserted, but the text is lowercase:
#+begin_src
#+end_src
How can I make it create uppercase text instead? I have always thought that uppercase was the ...
3
votes
1
answer
55
views
How to handle autocapitalize for things like i.e., e.g.?
In auto-capitalize mode, whenever Latin abbreviations such as e.g. or i.e. are entered, auto-capitalize mode seems to be too eager, and capitalizes the first letters E and I after the first period . ...
2
votes
2
answers
251
views
Advanced title capitals functionality available?
Looking at this page it seems title-capitals can get reasonably involved. Do packages exist that perform title-caps with support for some of these rules?
5
votes
1
answer
109
views
How to use a particular syntax table with arbitrary functions?
I have an Elisp function which takes a string and performs capitalization (capitalize) on it, and then inserts it into a file. Apparently capitalize doesn't consider the single quote as a "word ...
1
vote
1
answer
99
views
`capitalize` capitalizes letters following an apostrophe
I wrote an Elisp script to deal with some file names with English phrases. capitalize converts "I'm a cat" to "I'M A Cat".
What's the right way to get the desired result? ("I'...
2
votes
2
answers
657
views
How do I capitalize the first words of sentences in some buffer text?
I know how to convert a string to upper case, to lower case, or to title case.
But the operation I do most frequently writing English text is to fix up capitalization so a sentence or group of ...
1
vote
0
answers
145
views
Emacs `captain-mode` auto-capitalization in comment
I installed captain-mode, and it worked as expected in org/text modes, but not so quite in programming modes' comment lines.
The problem is it can auto-capitalize the first word from the second ...
0
votes
1
answer
71
views
Punctuation abbrevs for writing prose, and automatic full stops at the end of line?
I'm a beginner Emacs user, and English isn't my first language so please bear with me.
I use Emacs for writing prose, and I need help with punctuation.
To put it short, I want to turn this:
--hello ...
3
votes
0
answers
296
views
What is confusing about upcase-region?
Using upcase-region gives the message about it being disabled because new users find it confusing; but it seems very straightforward—replace every character with its upper-case version, if there is ...
1
vote
2
answers
227
views
Toggle letter case -- exclude custom words from a list
Xah Lee wrote (some time ago) the following function that toggles the letter-case of the selected region or the current word. When toggling to initial caps, some words should not be capitalized such ...
2
votes
0
answers
86
views
How to use company-transform to uppercase SQL keywords
company-transform seems can be used to apply function on candidates.
How to uppercase all SQL keywords which are in company complete candidates?
only apply this transform function in SQL/NoSQL ...
1
vote
1
answer
343
views
how to disable autocapitalization for specific words?
I use org-mode, with auto-capitalize-mode turned on.
But sometimes, within org-mode, I want to type out some lisp, highlight it, and execute it.
I might type something like
(setq org-cycle-...
3
votes
2
answers
260
views
how to make auto-capitalize-mode downcase next word upon auto-capitalization?
Suppose I have a sentence:
Two three four.
Suppose I put the point on the "T" in "Two" and enter the text oneSPC. Auto-capitalize-mode will recognize that the point is at the beginning of a line or ...
7
votes
3
answers
5k
views
Convert the first character to uppercase/capital letter using yasnippet
Q: I have the following Yasnippet, which looks like this:
MYNAME - $1 (`(insert-mode-description)`).
$2
When I insert the snippet, the cursor starts on $1. Then I begin with typing. I would like ...
1
vote
0
answers
102
views
Simulate shift key press depending on preceding text
When writing text, I would like not to have to press "Shift" when, say, the preceding text is a sentence end (e.g., ". ").
So, for example, if I have written Hi. and then I type b, a B should appear ...
4
votes
3
answers
2k
views
Search for and correct capitalized words that are not at the beginning of a sentence
I have a latex document in which there are many incorrectly Capitalized words. Could anybody suggest a clever regex to track them?
Even better if there is a function which cycles through such words ...
3
votes
1
answer
72
views
Do not auto-capitalize when editing an equation in AUCTeX or org-mode
I would like the auto-capitalize minor mode not to capitalize mathematical text in AUCTeX and org-mode.
To avoid this, when running in either of these modes, auto-capitalize should only capitalize ...
3
votes
1
answer
593
views
fixing auto-capitalize to work with org-mode headings and lists
I want the auto-capitalize minor mode to work well with org-mode.
Currently, auto-capitalize does not capitalize the first word in headings or list items (i.e., the word after '*' or '-'). For ...
6
votes
2
answers
367
views
When typing, automatically transform SPC SPC into PERIOD SPC SPC
I would like the period at the end of a sentence to be added automatically when two spaces are typed (similar to how typing works in iPhones).
I use two spaces between sentences, so the ...
11
votes
2
answers
1k
views
Is there an Emacs mode convenient for writing poetry?
I've tried simple searches on Google and MELPA with keywords like "emacs poetry mode" or "emacs verse mode" but haven't found anything specifically built for the purpose.
The manual walks through ...