Questions tagged [highlight-chars]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
50 views

Using general comment character used in programming languages

I am using highlight-regexp with a regexp pattern that includes the elisp comment characters ;;. How can I extend the pattern so that it adequately handle the general comment character for each ...
Dilna's user avatar
  • 1
0 votes
1 answer
295 views

Highlight single character at column 80

I am trying to highlight just a single character on a line when it is on the 80th column mark. I am using Doom Emacs, which did it on in on a previous Emacs version, but I updated my operating system,...
Kyuvi's user avatar
  • 101
1 vote
2 answers
1k views

How to show invisible/problematic characters such as TAB and Narrow No-Break Space in an org-mode table?

Is there a way to indicate where you have an "invisible" character that's causing problems in an org-mode table? The character's likely a TAB, but for the general case I'd like to assume it ...
chr's user avatar
  • 77
2 votes
1 answer
556 views

Better than lib "highlight-symbol"

windows 10, emacs 26.1. To highlight symbol I use package highlight-symbol http://nschum.de/src/emacs/highlight-symbol/ Nice. But I need symbol "=" to be a separator. As you can see the test=this ...
a_subscriber's user avatar
  • 4,032
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
  • 143
2 votes
1 answer
448 views

Jump to and highlight characters matching regex

How can I jump to the next character matching a regex (see example below)? And if possible, enable highlighting of all the matching characters in the buffer when I jump for the first time. [^\x20-\...
forthrin's user avatar
  • 451
1 vote
1 answer
114 views

Distinguish various hyphens: U+00AD and U+2011

According to the manual, emacs displays U+00AD (soft hyphen), U+2010 (hyphen), and U+2011 (non-breaking hyphen) with the escape-glyph face. Which is fine to distinguish them from the ASCII hyphen/...
maaartinus's user avatar
1 vote
2 answers
598 views

Syntax highlighting (in Emacs) for SQL code in log files

How can we highlight SQL code in some log files, with Emacs? Sample log file: [DEBUG][2016-05-26 09:04:51,714][FileHelper] - [realContextPath=[/server.xml]] [DEBUG][2016-05-26 10:24:22,369][...
user3341592's user avatar
1 vote
1 answer
148 views

How to pass multiple arguments to hc-highlight-chars?

How do you pass arguments to a function using lambda? I have looked through: https://www.gnu.org/software/emacs/manual/html_node/elisp/Argument-List.html#Argument-List and https://www.emacswiki.org/...
Jonathan's user avatar
  • 113
3 votes
1 answer
240 views

highlight-chars and magit is conflicting

first time StackExchange user here. I'm having trouble with highlight-chars (probably font-lock) and magit. Enabling hc-toggle-highlight-* functions will remove the coloring from magit buffers. ...
Seba's user avatar
  • 31
3 votes
2 answers
598 views

highlight-chars permanently

I am trying to highlight particular chars for use in C++ in emacs. I have found the package highlight-chars works very easily. I can use hc-highlight-chars command, it then prompts me for a set of ...
badger5000's user avatar
2 votes
1 answer
833 views

How to use the highlight-chars.el package?

How can I use the highlight-chars.el package mentioned here (and here's its code) to highlight custom characters? Specifically, I'd like to highlight the unicode directional formatting characters for ...
Evan Aad's user avatar
  • 1,521