Questions tagged [capitalization]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

Is there a way the CAPS LOCK key can perform its normal text function of toggling uppercase letters off and on for fiction writing in EMACS?

I'm a new Emacs user and New to LINUX. I only use EMACS for screenwriting using fountain mode. As such, the CAPS LOCK key is a hugely-used key in screenwriting. From some googling, I see EMACS uses ...
Captain Create's user avatar
1 vote
0 answers
76 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 ...
Pedro Delfino's user avatar
5 votes
0 answers
442 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 ...
lisp-machine's user avatar
3 votes
1 answer
58 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 . ...
tinlyx's user avatar
  • 1,342
2 votes
2 answers
252 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?
ideasman42's user avatar
  • 8,796
5 votes
1 answer
113 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 ...
sixter's user avatar
  • 113
1 vote
1 answer
114 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'...
sixter's user avatar
  • 113
2 votes
2 answers
738 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 ...
algal's user avatar
  • 345
1 vote
0 answers
162 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 ...
Sean's user avatar
  • 11
0 votes
1 answer
82 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 ...
Sami Lahtinen's user avatar
3 votes
0 answers
315 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 ...
Infiltrator's user avatar
1 vote
2 answers
237 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 ...
lawlist's user avatar
  • 19.1k
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 ...
stardiviner's user avatar
  • 1,928
1 vote
1 answer
355 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-...
incandescentman's user avatar
3 votes
2 answers
265 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 ...
incandescentman's user avatar
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 ...
ReneFroger's user avatar
  • 3,870
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 ...
scaramouche's user avatar
  • 1,734
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 ...
kindahero's user avatar
  • 548
3 votes
1 answer
73 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 ...
scaramouche's user avatar
  • 1,734
3 votes
1 answer
612 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 ...
scaramouche's user avatar
  • 1,734
6 votes
2 answers
377 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 ...
scaramouche's user avatar
  • 1,734
11 votes
2 answers
2k 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 ...
purple_arrows's user avatar