Skip to main content

Questions tagged [automation]

Filter by
Sorted by
Tagged with
0 votes
0 answers
106 views

So I have been using AUCTeX on Emacs recently, and I have been using doc-view to display the compiled pdf, but the doc-view standard resolution is too low and the image looks foggy, I increased the ...
Felipe Dilho's user avatar
1 vote
1 answer
86 views

I frequently have auto-revert-mode enabled for log files, where the mode hook runs ansi-color-apply-on-region. That deletes ANSI color sequences and adds overlays to produce the desired color. That ...
Troy Daniels's user avatar
1 vote
2 answers
88 views

I see this done a lot. Don't know what it's called. Don't know how to do it. See how the comments are all lined up? int myNum = 5; // Integer (whole number) float myFloatNum = 5.99f; /...
Matthaeus Gaius Caesar's user avatar
2 votes
2 answers
1k views

This is my config file. As you can see, on line 351, there is: ;; Update my Emacs' packages every week (use-package auto-package-update :custom (auto-package-update-interval 7) (auto-...
Pedro Delfino's user avatar
3 votes
2 answers
419 views

I was wondering if anyone knows if C-c C-a in AucTeX is using behind the scenes latexmk or not? I've tried looking into the source files for both C-c C-c and C-c C-a but I couldn't find in any those ...
Kirk Walla's user avatar
0 votes
0 answers
113 views

Is there something similar to pexpect that can be used to automate a tty connection running inside emacs, i.e. in term-mode or on top of serial-term ? I'd like to automate some repetitive tasks like ...
Konrad Eisele's user avatar
1 vote
0 answers
66 views

I use emacs to write latex and I need to enclose a lot of small expression in braces ( \{ and \} for latex) I would like to select the text to enclose and have some command that would add { before the ...
afiori's user avatar
  • 121
2 votes
2 answers
112 views

In this scenario I press C-x C-s to save the file being edited in upper window C-x o to switch focus to lower window Alt-p to recall previous command in M-x shell buffer Enter to execute command # ...
american-ninja-warrior's user avatar
0 votes
2 answers
220 views

How can I do this more efficiently, assuming I do this hundreds of times a day - it becomes tedious. # while editing a source code file M-x magit-stage-file M-x magit-commit type in wip C-c to ...
american-ninja-warrior's user avatar
2 votes
1 answer
1k views

I'm currently learning C with a book that has many small code examples that the reader is supposed to write, run and experiment with. I'm using Emacs as my primary tool for everything that has to do ...
Tim Hilt's user avatar
  • 307
1 vote
1 answer
288 views

I've been getting very vexed by the following. Goal: Take the clipboard contents and paste them into another application by using a shell script called by Emacs, followed by a Return. [This is for ...
Bill Rising's user avatar
2 votes
1 answer
254 views

I would like to repeat actions (preferably as a keyboard macro, but I am open to other solutions), in some kind of automated, "slow motion". By "slow motion", I mean at a speed that is close to human ...
Florent Georges's user avatar
1 vote
1 answer
105 views

What's the name of that feature that auto indent the code when I press tab (Even fi the indentation is more to the right, the tab "erases" the abundany spaces) and how can I change the size of it?
Igorzovisk's user avatar
1 vote
2 answers
1k views

Edit: Highlight text that matches the marked region, without the use of any key, but just by having a region marked. Then have two commands to directly move across the highlighted text, forward and ...
mikl's user avatar
  • 443
1 vote
0 answers
207 views

With abbrev mode, I can define abbreviations that trigger when I type a certain term. For example, typing "yn" would be expanded to "Your Name". For this, "yn" must have been defined as an ...
Felix Hoffmann's user avatar
6 votes
2 answers
826 views

If i select first option it will become l.remove But as the completion candidate is function type, how can i make it to l.remove() so that i don't have to manually type parens?
Chillar Anand's user avatar
3 votes
2 answers
444 views

I'm building a new appliance, linking BusyBox with Tor on top of a minimal GNU/Linux operating system. I'd like to try something different for the automated build infrastructure with this one and ...
Ian Bryant's user avatar
1 vote
1 answer
97 views

Lets say I'm editing a javascript file in emacs that has objects as such scattered through out the file: foo: [1], foo: [2], foo: [3], foo: [4], foo: [5], foo: [6], foo: [7] obo: [1], obo: [2], obo: [...
user2522280's user avatar
3 votes
2 answers
180 views

I use siunitx to typeset units in LaTeX. This is quite painless when typesetting it directly because of Emacs's siunitx.el (see below). However, sometimes I copy exercises or solutions containing ...
student's user avatar
  • 1,199
5 votes
1 answer
81 views

I'm planning to move StackMode to a literate program once it matures, but until then I'm using the conventional ^L section markers. My files look like this: ;;; Code: ^L ;;; Section 1 Title (defun ...
Sean Allred's user avatar
  • 7,111
2 votes
2 answers
284 views

When coding Android projects, resource variables are somewhat cumbersome to define, as they involve visiting a file far away in the directory structure and writing xml(!). Say I want to define a ...
Malabarba's user avatar
  • 23.5k