Questions tagged [style]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 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 ...
Garid's user avatar
  • 589
1 vote
1 answer
48 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-...
Dilna's user avatar
  • 1
2 votes
1 answer
768 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 ...
Larynx's user avatar
  • 123
1 vote
1 answer
86 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 ...
Vercingatorix's user avatar
0 votes
0 answers
76 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:...
Gauthier's user avatar
  • 499
2 votes
2 answers
116 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? ...
feklee's user avatar
  • 1,049
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 ...
wing's user avatar
  • 133
2 votes
0 answers
3k 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 ...
n1k31t4's user avatar
  • 679
0 votes
1 answer
217 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?
kai-dj's user avatar
  • 427
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 ...
Caterpillar's user avatar
0 votes
0 answers
61 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 ...
ideasman42's user avatar
  • 8,546
1 vote
1 answer
241 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 ...
Gauthier's user avatar
  • 499
20 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 ...
izkon's user avatar
  • 1,818
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.
Andrew's user avatar
  • 541
3 votes
1 answer
160 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),...
Steve Lorimer's user avatar
2 votes
1 answer
68 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 ...
Kevin's user avatar
  • 1,308
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: ...
gavenkoa's user avatar
  • 3,362