Skip to main content

Questions tagged [default]

Filter by
Sorted by
Tagged with
0 votes
2 answers
572 views

I have the following statement in two installations of emacs (setq default-directory "~/.emacs.d/") followed by (load-file "keyboard.el") One installation finds the file, the ...
balanga's user avatar
  • 153
0 votes
2 answers
238 views

In the question Optional parameter defaults, the suggested way to set default value for the parameter of an elisp function is along the lines of: (defun my-command (a &optional b) (command-...
tinlyx's user avatar
  • 1,454
1 vote
2 answers
263 views

Is it possible to make the first history item available as the default argument when running commands like eval-expression and goto-line? I'd like to be able to just press enter to use the previous ...
Matt's user avatar
  • 15
3 votes
2 answers
963 views

My Emacs init file works fine in general. But, if I am in my home directory and if I execute: pwd /home/pedro sudo emacs /etc/nixos/hosts.nix For some reason, this opens vanilla Emacs without ...
Pedro Delfino's user avatar
1 vote
1 answer
126 views

Have set the last three function arguments to optional. When calling the elisp function in code (rather than interactively), how can I check the optional arguments fol nil? When brcmk-end in nil, I ...
Dilna's user avatar
  • 1,473
1 vote
1 answer
165 views

After setting Dired do-what-I-mean (setq dired-dwim-target t) which, quoting the man pages If non-nil, Dired tries to guess a default target directory. This means: if there is a Dired buffer ...
Calaf's user avatar
  • 483
0 votes
1 answer
51 views

While in a dired buffer, after pressing C to copy a file, often the new filename you want is actually a variation of the original file name. Is there a easy way to get original file name in to the ...
american-ninja-warrior's user avatar
1 vote
2 answers
1k views

My default line wrapping is 'truncate long lines'. How can I change it to 'wrap line at window edge' ?
lambda-pumpkin's user avatar
1 vote
0 answers
60 views

I have got two versions of Emacs on my Windows 10 laptop: Emacs 25.3.1 (x86_64-w64-mingw32) and Emacs 26.1 (build 1, x86_64-w64-mingw32). I would like the windows shell to run the 26.1 version by ...
Krzysztofik's user avatar
1 vote
1 answer
464 views

It works when using setq-default in place of setq or when customizing through C-h v. C-h v reports that it is set in 'C source code'. I was thinking it might be affected by my c-default-style, but my ...
mcp's user avatar
  • 626
0 votes
0 answers
2k views

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 customize-...
michael.t's user avatar
  • 101
2 votes
2 answers
1k views

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 (...
James's user avatar
  • 121
5 votes
2 answers
2k views

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 ...
Lorem Ipsum's user avatar
  • 4,707
2 votes
3 answers
405 views

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 ...
user1404316's user avatar
1 vote
1 answer
109 views

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 ...
deshmukh's user avatar
  • 1,962

15 30 50 per page