All Questions

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

Error message when posting to GMANE

When trying to post to GMANE, I get an error message: 441 You need a valid email address to post: Invalid response from SMTP server mail.inka.de: 550-Verification failed for auth@gmane-mx.org Couldn’...
0
votes
0answers
7 views

How to draft email programmatically?

I use mu4e for email with multiple accounts. I have multiple accounts in mu4e and followed the manual with a function my-mu4e-set-account and a hook to it: (add-hook 'mu4e-compose-pre-hook 'my-mu4e-...
0
votes
0answers
2 views

Process shell exited abnormally with code 53 on windows 10

I'm using emacs 26.2 installed through msys2. Recently starting subprocesses from emacs has stopped working for me. Specifically M-x shell and shell-command-to-string. I get the feeling this is due to ...
0
votes
0answers
6 views

Emacs org export shell script from txt file

I have a .txt file which is an org file but not with the .org file extension. I want to export the file to html on the command line, but it does not work if the file extension is .txt, only if the ...
2
votes
0answers
28 views

PDFView scroll line

I'm using <space> to scroll down in a pdf document that does not fit completely in a frame. However, this disrupts the reading flow as I need to find again the correct line that is now ...
2
votes
0answers
41 views

Org agenda should show all todos of the current week (not separated by days)

The default agenda-list-view separates the todo items of the current week by days and sort them by time within each day if there are timestamps. Instead, I want to combine all the todo items without ...
0
votes
1answer
80 views

Tramp x11 on Mac os (local) , centos (remote)

I understand that I should be able to use X11 to show graphs from a remote R when I use a local emacs to connect to the remote machine with tramp. I have tried a few different things but can not get ...
0
votes
1answer
5 views

Re-enable flychecksyntax checker after reported too many errors

I recently ran into this error from flycheck: Warning (flycheck): Syntax checker csharp-omnisharp-codecheck reported too many errors (482) and is disabled. I saw this: Warning (flycheck): Syntax ...
16
votes
2answers
583 views

Why do setq and set quote act differently on let-bound variables with lexical scope?

I had a bug in one of my extensions that eventually turned out to be caused by set not working as I expected: ;; -*- lexical-binding: t -*- (let ((a nil)) (setq a t) (print a)) (let ((a nil)) ...
0
votes
2answers
32 views

How to turn off automatic indenting for Org files in a specific folder?

I am using Doom Emacs. I like having indentation for most of my org files, but I have one folder where I want to have org files without indenting, to use for writing documents. I have already tested ...
0
votes
0answers
19 views

Why symbol-value throws a void-variable error with a let form if lexical binding is on? [duplicate]

Here's a simple example from the manual: ;; Here the symbol ‘abracadabra’ ;; is the symbol whose value is examined. (let ((abracadabra 'foo)) (symbol-value 'abracadabra)) ⇒ foo Why does this ...
1
vote
1answer
32 views

list files in directory in reverse order of date

When finding files with Ctrl-x Ctrl-f and then pressing Tab, to list the file completion names, is there a way to list these files in reverse order of their dates (when they were last edited)? ...
0
votes
1answer
535 views

'pdflatex' is not recognized as an internal or external command, operable program or batch file

came across on windows 10 the following error message Running `LaTeX' on `test_latex' with ``pdflatex -file-line-error -interaction=nonstopmode "test_latex.tex"'' **'pdflatex' is not recognized as ...
2
votes
1answer
201 views

How to write a list literal with conditional items? [duplicate]

Given a list literal '(1 2 3) is it possible to conditionally include parts of the list? eg: '(1 2 3 (when thing-is-true '(10 11 12))) 4 5 6) Which would result in '(1 2 3 4 5 6) or '(1 2 3 ...
0
votes
1answer
27 views

Capture org-agenda and show-some-entry-text into dynamic block

In summary I want to capture org-agenda into a dynamic block with some entry text. At the end of the week I provide a report as to what I've been doing and a list of what I intend to work on in the ...
0
votes
0answers
18 views

How to resolve keybinding conflict, or set precedence of the bindings to the same keys for different functions?

How do I resolve keybinding conflict? Or if it's possible to have precedence of keybindings for the same key for different functions? I have the following snippet definition, in org-mode: #+name:${2:...
0
votes
1answer
41 views

Async Rsync Dired error on tramp file not found

I am trying to copy files from one directory on a remote computer to another directory on the same remote computer. Using Dired I can open up the two directories, mark the files I want to copy and ...
1
vote
1answer
53 views

How to develop a package I also have installed?

When developing a package which is also installed via an online repository, there is a practical problem. /source/my-emacs-package git repository where I have my code. ~/.config/emacs/elpa/my-emacs-...
0
votes
1answer
33 views

Override org-insert-link for those that match a pattern

I often need to keep track of conversations that happen in Slack, so I wrote a small elisp package that retrieves all message info (channel, timestamps, message(s)) for a given Slack permalink. Then ...
0
votes
1answer
16 views

How can I split a window so that the cursor ends up in the right / lower window?

The functions I have found for splitting windows are (split-window-right) and (split-window-below). When these are evaluated the cursor ends up in the right window in the case of (split-window-right)...
0
votes
0answers
11 views

Exclude some headings from numbering

I would like to exclude some headings from numbering in org-num-mode. Is there a way to achieve this?
0
votes
1answer
32 views

org-sort expands all subtrees and drawers

When I use org-sort (Ctrl-^) all the to be sorted subtrees are expanded including their properties. I kind of loose orientation. I have to collapse them manually again or use overview (Shift-Tab) and ...
0
votes
1answer
30 views
+100

Archive all marked entries with evil-mode

I recently switched to evil mode and cannot figure out how to archive all marked entries at once. The way I did it earlier, when I was in a list seeing the candidate entries for archiving I pressed * ...
1
vote
1answer
65 views

How to run commands from other packages if they exist, without depending on them?

I have package that has no relation to evil-mode, but doesn't work well when the command is repeated. While the repeat command can be disabled, I don't want to add a dependency on evil mode just to ...
5
votes
1answer
893 views
+50

Pre-populate property entry menu with items from setup file

I have a collection of Org files that all link to a central properties file in which I specify _ALL properties so that I can get uniform entry of information across many files: #+SETUPFILE: ../../...
0
votes
1answer
79 views

Display a horizontal underline on every line

I recently saw this image on r/unixporn. How can I recreate the 'notebook' effect: the broad line-height and underline of each line, but in Emacs (iiuc this is achieved using rxvt + pixmaps in Linux).
0
votes
2answers
60 views

How do I change the default shell for `sh-mode`?

sh-mode usually does a great job of auto-magically detecting which shell a file is intended to be run by. It looks at the shebang, for instance. However, I have a bunch of files that are intended to ...
0
votes
1answer
22 views

compilation sentinel: symbol's value as variable is void for quote, >, <, =, etc

I'm working on a script that can compile multiple directories and then provide the first error to a file. Currently, I am tackling the issue of running make in multiple directories portion. I am ...
0
votes
1answer
55 views

How to make `pulse-momentary-highlight-region` stop highlighting after 1 second?

When I do pulse-momentary-highlight-region, the highlight stays till I press any key. (I'm on macOS emacs -nw.) How can I make the pulse to go away after a short while?
0
votes
0answers
25 views

GUI started emacs has different env vars than terminal started one

I wrote LD_LIBRARY_PATH both in .bashrc and .bash_profile. However, if I started emacs in terminal using emacs, LD_LIBRARY_PATH is shown in getenv. If I started it using GUI, there is no such variable....
2
votes
1answer
174 views

Does anyone know of a quick method to get hexadecimal line numbers in emacs?

Does anyone know of a quick method to get hexadecimal line numbers in emacs? I am using linum for line numbers. I suppose I could hack it, but just thought to ask first.
0
votes
0answers
12 views

How to format header files on close?

I have the following in my .emacs file. (require 'astyle) (add-hook 'c-mode-hook (lambda () (setq astyle-on-save-mode t))) (add-hook 'c++-mode-hook (lambda () (setq astyle-on-save-mode t))) For files ...
0
votes
1answer
56 views

Can I set MANPAGER to open a man page with emacs?

I am able to use man inside emacs. M-x man , <ln> , [enter]. => From the shell can I open man pages from the shell? For examlpe doing $ man ln can open the man page inside the emacs? $ ...
2
votes
1answer
27 views

Getting rid of plain text timestamp entry in agenda export

I am trying to create a weekly agenda that I can print out and use without having to be at the computer To best explain my problem I will use some screenshots This is the normal org file that I will ...
4
votes
1answer
1k views

Why do packages remain in `package-selected-packages`

I'm using Spacemacs, and I'm adding things to my dotspacemacs-configuration-layers. I can see its adding tons of packages to package-selected-packages. If I comment out 1 or 2 layers (that I tested ...
5
votes
3answers
561 views

How to disable IDO in ‘dired-create-directory’

I have this setup: (setq ido-everywhere t) (ido-mode 1) Well, of course there is more, but I believe that this is relevant portion. Some time ago I wanted to have IDO for dired-do-copy and dired-do-...
2
votes
1answer
23 views

Continue comment while editing lisp and when hitting enter

If I'm writing a comment ;; this is a comment ;; this is its second line And I hit enter, I get a new line like this: ;; this is a comment ;; this is its second line Instead of getting a new line ...
0
votes
1answer
41 views

How to insert lowercase Greek nu Unicode character?

I am writing Julia code in Emacs, which allows the use of unicode characters in the source code. However, some symbols come out looking weird. For example the Greek letter nu: becomes: Does anyone ...
0
votes
0answers
10 views

python: flake8 ignore __main__ scope in function's scope

I am getting following warning message for the following code: F821 undefined name 'variable'. // variable becomes color red. #!/usr/bin/env python3 def doo(): print(variable) # <= F821 ...
3
votes
1answer
2k views

Error enabling flyspell mode in Emacs

I use flyspell hunspell for checking my spelling mistakes in Emacs. Recently, when I run M-x flyspell-mode in .org or .tex files I got the following error: Error enabling Flyspell mode: (hunspell ...
0
votes
1answer
40 views

Re-fill compilation-mode buffer from shell script

This might require more tricks than just Emacs-fu, but since Emacs is at the heart of it I hope to get some ideas on how to approach my need here. I use Emacs/Make/gcc as my development environment. ...
0
votes
1answer
41 views

“not in compilation buffer” error using compilation-next-error in elisp function

I am getting an elisp error that fails at lisp/progmodes/compile.el within compilation-next-error function that reads "Not in a compilation buffer". The elisp function I am writing attempts ...
0
votes
1answer
27 views

Can I make projectile open a default file when I switch to a project?

I'm using helm-projectile in spacemacs. SPCpp runs helm-projectile-switch-project, which gives me a helm completion buffer for projectile projects. When I choose a project and hit enter, I then get a ...
0
votes
1answer
31 views

How do I disable Centaur Tabs in ispell Choices buffer

I need to disable the Centaur-Tabs in the Choices buffer of ispell/flyspell. In Centaur Tab's site it says to add a hook, so I tried this: (add-hook 'ispell-choices-buffer 'centaur-tabs-local-mode) ...
0
votes
1answer
23 views

Return all time today spent on tasks that include a particular tag

As the title. I have come so close but can't get past this last hurdle. The below returns all time today that has been spent on headings where the tag is 'billable'. However it fails when there are ...
0
votes
1answer
40 views

Avoid Adding Backslash to Curly Brackets when Exporting Latex

I want to export an org tree to latex, but whenever I have a command that nests curly brackets, org export will automatically prepend all brackets with a backslash. For example, the tree: Exports to ...
1
vote
1answer
22 views

How can I access Mac menu bar help via keyboard?

I'd like to be able to search Emacs's Mac menu bar entries using the keyboard, as you normally do in most other Mac applications using s-? (this answer suggest that it should be possible?). I've ...
0
votes
0answers
20 views

GNU global prefers goto definition instead of goto to declaration

How I find a declaration of a cpp class or struct by GNU global for now. search a class name with Emacs gtags plugin such as ggtags or counsel-ggtags) the constructor or destructor of the class is ...
3
votes
2answers
227 views

Cua-mode and keyboard macros

I have just started using emacs, so I decided to use cua-mode. I got this weird problem when I'm using macros and copy/cut (C-c/ C-x). let's assume this simple macro for example: <F3> C-S-right ...
0
votes
0answers
32 views
+50

smart-quotes how to close it on the end of the variable if there is one

I don't know the proper explaination for this so I could not find the answer. I have tried to integrate electric-pair and smart-quotes. It works pretty nice but in some cases it does not do the things ...

15 30 50 per page
1
2 3 4 5
389