Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [default]

The tag has no usage guidance.

0
votes
0answers
47 views

Cannot set default theme. Dark theme even if loaded without .emacs and without .emacs.d

When I load emacs without any configuration I see a dark theme: There is no way for me to get back to the default theme. I tried the following: M-x disable-theme: no theme is enabled M-x ...
1
vote
1answer
102 views

Change permanently font size in Aquamacs

I have been looking on the web to the existing answers to this question, but non of them works for me. I would like to change the default font size for all frames in Aquamacs 3.3 GNU Emacs 25.1.1 (...
3
votes
2answers
180 views

Set a global default directory

I want a "default directory" which is constant across all contexts (buffers, packages, etc). That is, when working on multiple files, opening a new terminal, doing anything which requires a starting ...
1
vote
3answers
51 views

call write-file interactively with prompting

I have a function that creates a buffer, with a default file name, and would like the first user action for that buffer be a prompt to write the buffer to a file, allowing the user to change the ...
1
vote
1answer
35 views

Switch back to default font on widening

Running emacs 25.2.2 on Kubuntu 17.10. I have an Org mode file that is mostly in English but certain headlines contain text in Devanagari. From Options -> Set Default Font, I have chosen Hack 13 ...
0
votes
1answer
52 views

File encoding differet when visiting the file again

I have this in my .emacs: (setq-default buffer-file-coding-system 'utf-8-unix) When I create a file in emacs and save it, it should be buffered and saved in utf-8-unix. When I open such a file ...
3
votes
3answers
209 views

Display path and filename in a minibuffer

Eval this code: (defun xx-display-filename (filename) "" (interactive "Ffilename: ") (message (concat "Filename is: " filename))) Let's assume that I am editing a ~/.emacs.d/personal/custom.el ...
0
votes
1answer
459 views

setup shell to default eshell

I am new to Spacemacs and eshell. I try to open eshell via the default shortcut key SPC ' but it opens the bash shell: [wolfv@localhost ~] $ message "hello" bash: message: command not found... I ...
0
votes
0answers
40 views

why has my emacs grep command started to search always in my home directory?

Up until a few weeks ago, I was able to use emacs grep to search files in the same directory as the file in the currently active buffer. If I searched recursively, the starting directory would also be ...
2
votes
1answer
1k views

What is the proper way to identify a font for .spacemacs file?

Spacemacs isn't finding my Source Code Pro font files, and I think it's a naming issue. I have the fonts installed and in the font cache, /usr/local/share$ fc-list : file | grep source Returns: /...
5
votes
3answers
423 views

delete-selection-mode not a default?

If you enable Delete Selection mode, a minor mode, then inserting text while the mark is active causes the selected text to be deleted first. This also deactivates the mark. Many graphical ...
2
votes
1answer
4k views

How do i change the default shell for shell-command

I am having an issue with one of the plugins i am running because its trying to use fish and does not like the parameters. Is there a way i can change emacs to use bash for any plugins that use shell-...
0
votes
1answer
66 views

How Do I Adjust Indentation Style For Multi-Line Lists?

The default indentation style in emacs for a multi-line list is as follows: longFunctionName(arg1, arg2, arg3, arg4) where the final argument snaps to the starting position of the ...
12
votes
2answers
333 views

How do i get rid of “default” (last used) string in some emacs functions?

I have the following problem : when i use 'C-x r t' (string-rectangle), i am prompted to enter some string, to replace the selected rectangle. Lets say i type ";;" (to comment out the rectangle). This ...
4
votes
1answer
275 views

Reusing previous inputs (old or new) for query-replace

Most functions in emacs keep a default option, with the last arguments used. Is it possible to reuse some of the default arguments while changing others? For example, when using search and replace, a ...