Questions tagged [text]
The text tag has no summary.
48 questions
0 votes
1 answer
40 views
Using either espoak or festival for text to voice
Have made this function to use espeak on a region. How can this be adapted to use espoak or festival? (defun rina-espeak-region () "Speak the selected region using espeak via shell command.&...
1 vote
1 answer
97 views
Searching for text fragments by character text properties
The text to be processed has special words marked with a special font. The required text is copied to the clipboard with the mouse (from firefox). The text is pasted into the clipboard emacs("...
2 votes
1 answer
154 views
Swap two pieces of text
I often find myself swapping pieces of text. How can I make a command to replace the current text with the latest kill, then put the text I just replaced at the position of the previous kill? Or is ...
0 votes
1 answer
42 views
Issue when expanding clojure source blocks
I have defined expand and execute functions for 'text' source blocks as follows: (defun org-babel-expand-body:text (body params) (org-trim body)) (defun org-babel-execute:text (body params) (org-...
1 vote
1 answer
320 views
How do I Include plain text file org-mode as is for LaTeX export?
I'm using #+INCLUDE: "./file.txt" to organize documents but including files this way is messing with linefeeds on org-mode export to LaTeX/Pdf. Is there a property or attribute that could ...
0 votes
1 answer
685 views
How to center region in exact middle of screen?
So i basically want to (as the title suggest) to center a region of text, in the center of the screen. Current example is using part of this site. From this To this And here a small gif video to ...
1 vote
2 answers
334 views
How increment specific value in text [duplicate]
windows 10, Emacs 26.1 Suppose I has the next text [ { "id": 1, "finished": 1573550444.4444, "orgn": 17 }, { "id": 1, "finished": 1573550444.4444, "orgn": 17 }, { ...
2 votes
1 answer
735 views
How insert random number?
Suppose I has text: test hello The cursor is after word test. I need to insert random number? Also I need to set range of random (e.g. from 0 to 1000) The result maybe like this: test100 hello