Re: can emphasis emphasize this?

2023-11-14 Thread Max Nikulin

On 13/11/2023 11:29, Samuel Wales wrote:

=/send to mary ka/
a bunch of stuff

[...]

[i don't do anything programmatic with them; they are just notes to
myself.


Have you considered your own font lock rule?




Re: can emphasis emphasize this?

2023-11-12 Thread Samuel Wales
haha ah the old zws thing.  of course.

hadn't crossed my mind!  this isn't for export [yet] and previously
discussed soluytions for using syntax made me think of exports so it
slipped my mind.  i do find it odd that a non-visible character is
needed, but thanks for bringing it up and providing the code.

on the basis of the invisibilty thing, i /might/ stick to using spc
when emphasis is first char of a = note, if no more responses, but
will consider it!


On 11/12/23, Marcin Borkowski  wrote:
>
> On 2023-11-13, at 05:29, Samuel Wales  wrote:
>
>> if it is as above, the emphasis does not show.  but if i put a space
>> after =, it does show.  i kind of want to keep trying without space,
>> but i want emphasis.
>>
>> is this a possible hack to emphasis syntax?  we've changed that around
>> a bunch i know, and forgotten details.  i suspect it is at your own
>> risk stuff now.
>
> My go-to solution is this:
>
> (defun insert-zero-width-space ()
>   "Insert Unicode character \"zero-width space\"."
>   (interactive)
>   (insert 8203))
>
> Hth,
>
> --
> Marcin Borkowski
> http://mbork.pl
>


-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com



Re: can emphasis emphasize this?

2023-11-12 Thread Marcin Borkowski


On 2023-11-13, at 05:29, Samuel Wales  wrote:

> if it is as above, the emphasis does not show.  but if i put a space
> after =, it does show.  i kind of want to keep trying without space,
> but i want emphasis.
>
> is this a possible hack to emphasis syntax?  we've changed that around
> a bunch i know, and forgotten details.  i suspect it is at your own
> risk stuff now.

My go-to solution is this:

(defun insert-zero-width-space ()
  "Insert Unicode character \"zero-width space\"."
  (interactive)
  (insert 8203))

Hth,

-- 
Marcin Borkowski
http://mbork.pl



can emphasis emphasize this?

2023-11-12 Thread Samuel Wales
tldr can i emphasize
=/emphasized/ not emphazised
or find a workaround that is easy to type?


i like to notate meta-notes with = like this:

=/send to mary ka/
a bunch of stuff

or

=i am skeptiucal this is true
he said aliens invadded yesterday

or even just notes by themselves with blank space after in org body
text to describe the entry in meta terms.  such as links to other
stuff etc.  and tses.

i do this in text notes to myself all over emacs but especially in org
body text.

[i don't do anything programmatic with them; they are just notes to
myself.  but programmatic expansion of hte idea into features would b
interesting.]

i just have a small question of syntax and workarounds.

if it is as above, the emphasis does not show.  but if i put a space
after =, it does show.  i kind of want to keep trying without space,
but i want emphasis.

is this a possible hack to emphasis syntax?  we've changed that around
a bunch i know, and forgotten details.  i suspect it is at your own
risk stuff now.

if that's not a good option, are there other options like macros,
except as easy to type just like the =?  thanks.

-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com