Skip to main content

Questions tagged [style]

The tag has no usage guidance.

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

Good themes/packages which include styled Admonitions in org mode

Are there any good themes which have styled admonitions (#+BEGIN_QUOTE, #+BEGIN_CENTER etc...). I'm looking for something that styles the admonitions individually and distinguishes each of them like ...
0 votes
0 answers
42 views

How to split org-roam-capture-templates in to multiple lines? [duplicate]

I have following config for my org-roam: (use-package org-roam :ensure t :init (setq org-roam-v2-ack t) :custom (org-roam-directory "~/roamnotes") (org-roam-completion-everywhere ...
1 vote
1 answer
54 views

Completion to set style

I have the following function, where I would like to use completion to set the style. But the way I have done does not reset the style using M-x rk-bracemk-companion. (defcustom rk-bracemk-...
2 votes
1 answer
882 views

Org-ref, Exporting org file to HTML with its style exactly same as a specific scientific journal

I've been writing articles with Google Docs and Zotero. Recently, I tried Org-mode with Org-ref package, but the output was not so good. My Problems: The citation is verbose without any rule. I ...
1 vote
1 answer
95 views

c-set-style: Error loading guessed style

My company has very specific indentation rules for C code. I want to create a style from those rules, and have it load at startup. Doing a C/Guess Style From This Buffer and C/Install Last Guessed ...
2 votes
2 answers
126 views

image-dired: Change thickness of cursor

On a hires screen I find it really hard to see on which image the cursor currently is, because the rectangle around the image is very thin. Is it possible to increase the line width of that rectangle? ...
0 votes
0 answers
79 views

writegood mode in code

I like to use writegood-mode for my source code comments. I feel that there should be a way to make it check comments only. However, my python files display that kind of things: and so does bash mode:...
4 votes
2 answers
1k views

There's a way to use emacs like MS Word, to make text permanently colored, stylized, etc...?

I'm totally new to the wonderful world of Emacs. I started to use it some weeks ago and i'm find myself to use it more and more... I would like to use it not only as a code editor, but also as a word ...
21 votes
2 answers
3k views

When should sharp quotes be used?

I see sharp quotes being used in other people's eLisp code, and I use them myself, but I'm not completely clear on when they are appropriate and when not. Could anyone clarify on exactly when it's ...
2 votes
0 answers
4k views

Export org-mode code blocks with minted style

I am trying to export org-mode source blocks to pdf via Latex and I use minted to get syntax highlighting. My org file looks like this: #+latex_header: \usepackage[utf8]{inputenc} %% For unicode ...
0 votes
1 answer
224 views

How to set the background of color-hex-values with corresponding color in all modes (like in css-mode)?

In css-mode color strings get a background color corresponding to the respective color - like this (image): How to achieve this behaviour in other modes?
1 vote
1 answer
1k views

Linter for Google shell style guide?

Does anyone know of a Bash linter for the Google shell style guide? I have been using shellcheck as my linter with flycheck but it doesn't conform to this standard.
3 votes
1 answer
1k views

Extra indentation for argument lists beginning on a new line

I'm fine-tuning my C++ style using c-add-style, but I've reached an impasse where I cannot convince Emacs to (extra) indent arguments where the first argument starts on a new line. When I'm forced to ...
1 vote
1 answer
271 views

Value of symbol c-basic-offset in a function

I am using a mode that has the following construct: (defun robot-indent() "Returns the string used in indation. Set indent-tabs-mode to non-nil to use tabs in indentation. If indent-tabs-mode is ...
0 votes
0 answers
66 views

How to define a custom code style for C/C++ to be shared with others?

I have my own code style setup in my init.el file, but would like to publish it for other developers to use. Is there a good template to use so projects can share their C/C++ code style between ...
3 votes
1 answer
176 views

Update cc-style to use a mix of tabs and spaces, depending on context?

I'm looking for a way to mix tabs and spaces in my cc-styles. Whilst I question the sanity of this coding style, and wouldn't ever choose to use it had I the choice (seems other people share my view),...
2 votes
1 answer
70 views

how to manage elint dragging in lots of .gz files

When I invoke elint-current-buffer on a buffer of Lisp code, Emacs starts dragging in 75 !! compressed .el.gz files, leaving me with a huge pile of unwanted active buffers containing those files. Is ...
1 vote
0 answers
40 views

Consistent way to represent key sequences? [duplicate]

The macro kbd doesn't work for all desired input. For example, this results in an error: (kbd "C-H-left") edmacro-parse-keys: C-H- must prefix a single character, not left and should be written as: ...