[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Carets and underscores become red occasionally in math mode
From: |
Arash Esbati |
Subject: |
Re: [AUCTeX] Carets and underscores become red occasionally in math mode . |
Date: |
Wed, 22 Aug 2018 22:13:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 |
"Kourosh Kalayeh" <address@hidden> writes:
> Ivan, thank you for email.
>
>
>> You can see what face it's using with the function below. That
>> might give some clues.
>>
>> -Ivan
>>
>> (defun fontification-at-point (p)
>> (interactive "d")
>> (sit-for 0)
>> (message "Text properties: %s\nOverlays: %s"
>> (text-properties-at p)
>> (map 'list
>> (lambda (ov)
>> (overlay-properties ov))
>> (overlays-at p))))
>>
>
> I tried the function. Emacs gives me the following error;
> Symbol’s function definition is void: map
,----[ C-h f map RET ]
| map is an alias for ‘cl-map’ in ‘cl.el’.
|
| (map TYPE FUNCTION SEQUENCE...)
|
| Map a FUNCTION across one or more SEQUENCEs, returning a sequence.
| TYPE is the sequence type to return.
`----
It should be sufficient to eval (require 'cl), i.e. put this line in
scratch and hit `C-x C-e' after ), before you eval that function.
As an alternative, you can put the cursor at a caret and hit
`C-u C-x =',then look for lines after "There are text properties
here:".
HTH. Best, Arash
- [AUCTeX] Carets and underscores become red occasionally in math mode ., Kourosh Kalayeh, 2018/08/12
- Re: [AUCTeX] Carets and underscores become red occasionally in math mode ., Arash Esbati, 2018/08/13
- Re: [AUCTeX] Carets and underscores become red occasionally in math mode ., Kourosh Kalayeh, 2018/08/13
- Re: [AUCTeX] Carets and underscores become red occasionally in math mode ., Arash Esbati, 2018/08/15
- Re: [AUCTeX] Carets and underscores become red occasionally in math mode ., Kourosh Kalayeh, 2018/08/16
- Re: [AUCTeX] Carets and underscores become red occasionally in math mode ., Ivan Andrus, 2018/08/17
- Re: [AUCTeX] Carets and underscores become red occasionally in math mode ., Kourosh Kalayeh, 2018/08/20
- Re: [AUCTeX] Carets and underscores become red occasionally in math mode .,
Arash Esbati <=
- Re: [AUCTeX] Carets and underscores become red occasionally in math mode ., Ivan Andrus, 2018/08/22
- Re: [AUCTeX] Carets and underscores become red occasionally in math mode ., Kourosh Kalayeh, 2018/08/23