Re: Help requested: Support for basic Org mode support in tools outside of Emacs

2021-08-06 Thread Bo Grimes




On 8/6/21 10:00 AM, Karl Voit wrote:

* M  ‘quintus’ Gülker  wrote:

The problem with the approach you describe in this article is that the
org markup is not really separatable from org as a part of Emacs.


This is absolutely true and I'm going to try something to change
that in the upcoming months. ;-)




I'm not competent to decide, but it looks to me like the Sublime Text 
plugin <https://github.com/ihdavids/orgextended> goes a long way towards 
this change.


--
Bo Grimes





Re: Help requested: Support for basic Org mode support in tools outside of Emacs

2021-08-04 Thread Bo Grimes



On Wednesday 04 August 2021 18:28:48 PM (-04:00), Tim Cross wrote:

> BTW has anyone mentioned the VS Code org plugin - I guess that would
> meet the criteria as an external, non-Emacs based tool for doing org
> style markup. I've not used it, but noticed it when I was playing with
> VS Code recently.
>

Sublime Text does also.  I use it occasionally, as well as a plugin to use 
Emacs keychords in Sublime. It's not org-mode, but if can be a decent way 
of reading org-files for someone who needs to but doesn't use Emacs.


And sorry if I missed it but I didn't see anyone mention 
https://github.com/200ok-ch/organice




Re: [Resolved]Re: OT: M-S-$ Not Working

2021-02-06 Thread Bo Grimes
On Sat, 6 Feb 2021 22:52:17 +0700
Maxim Nikulin  wrote:

> On 06/02/2021 00:38, Bo Grimes wrote:
> > 
> > I have no idea what 3rd level is, but before I ticked it I turned
> > off my number lock, and C-S-$ worked!  So I ticked it and it stopped
> > working.  So I unticked it and ticked Number keypad always enters
> > digits, which is, of course, why I use Num Lock to begin with.  
> 
> Definitely "xev" is your friend if your want to realize actual effect
> of such changes, along with "setxkbmap -query" (or "setxkbmap
> -print") and "xkbcomp -xkb :0 -".
> 
> 3rd level is intended to type some characters absent in regular
> layout using a special modifier key. Personally I use 2 keyboard
> layouts and compose key for some symbols that are not directly
> available, so I do not need 3rd level as well.
> 
> > With that ticked Emacs behaves as expected.  I have always used Num
> > Lock and never had that problems  
> 
> You could have a look into /usr/share/X11/xkb/rules/evdev.lst 
> /usr/share/X11/xkb/symbols/keypad /usr/share/X11/xkb/types/numpad
> files. If I do not mistake, $ is mapped for keypad with
> keypad:oss_wang option. Likely you could achieve what you want with
> custom Xkb configuration. I have not tried such tricks however. The
> most comprehensive guide on Xkb, I have seen, was in Russian. Its
> English variant is incomplete, the author's site is down. 
> https://web.archive.org/web/20121108145326/http://pascal.tsu.ru/en/xkb/
> 
> X Keyboard Extension Protocol and library specifications could be
> hard to read, XKB Configuration Guide hosted on x.org is too brief.
> 
> P.S. Have you checked that it is possible to swap Ctrl and Caps in 
> wayland session? If not it is likely worth filing a bug. It seems 
> wayland will be default soon. Some Xkb stuff is already broken in
> gnome (rather intentionally). My first experience with wayland was
> that it took enough time to realize why I could not authenticate. Gdm
> was using wayland by default and in password fields (hidden input!)
> shift does not allow several capital letters in a row.
> 
> 

Completely missed this.  Thanks!  I'm using Claws ATM because I'm still
setting up Mu4e, with which I will capture this into a org file for
later reference and notes.  I would love to be able to help file a bug
report, so I will *definitely* do this after I get my Emacs set-up fully
on this new OS!

Cheers,
Bo Grimes



Re: OT: M-S-$ Not Working

2021-02-06 Thread Bo Grimes
To consolidate I'm replying to both Marcin and Tim together, and if
anyone has further advice I welcome it!!!, but I feel guilty, so reply
to me off-list, please.

On Sat, 06 Feb 2021 17:28:52 +1100
Tim Cross  wrote:

> Marcin Borkowski  writes:
> 
> > Hi Bo,
> >
> > I know your problem is resolved now, but in case you don't know,
> > check also what `C-h c' does (and `C-h k' is also useful at times).
> >  In general, spending 20 minutes on looking through what `C-h C-h'
> > says might save you some trouble later;-).

Thanks!  I resolve to work through the help files from time to time, but
life and attenuation... C-h c looks very useful! I have a couple of
simple capture templates that I copied into my init.el, but I didn't
know one could create them like that!

Right now I am slowly working my way through Harley Hahn's Emacs Field
Guide, and I am determined to master Emacs and Org, which I have been
using extensively for 10 years now, I'm embarrassed to say.

My biggest challenge is that I use Emacs for Org and Org because after
trying everything else, it simply meets all my demands (plain text,
FOSS, etc), all my needs (notes, agendas, and writing), and it is so
stable and configurable that I can grow with it.  However, the
challenge is that duties and obligations (willed and wanted) often keep
me from working on notes, knowledge base, writing stuff for days and
even weeks, so I am constantly relearning.

> >  
> 
> This is good advice. I would add that if you find that Emacs does not
> respond, even to say that the key is not bound or defined, it is
> typically a sign that something in the environment e.g. window manager
> or X (or Wayland) layer is not passing the key press through. These
> are layers which are often overlooked and I've seen people spend hours
> inside Emacs trying to work out what the issue is, only to later find
> it is at a different layer (OS, windowing environment, window manager,
> etc).

> In general, standard Emacs key bindings are robust and reliable. If a
> standard key binding like M-S $ doesn't work, first step is to try
> emacs -Q. If that still does not work, odds are high it is an issue
> outside of Emacs. Most common causes are WM shortcuts, modified input
> device definitions (as seems to be the culprit here) and modified
> modmap settings. Utilities like 'xev' can be useful here (not sure
> what wayland has).

Yeah, I knew that had to be the case, but the Internet is now so awash,
and *nixes so divergent, it's sometimes very difficult, no matter how
good one's searchFu is, to find a solution.  Once I saw that S-4 gave
me a $ in a buffer and M-S-$ in a shell spellchecked the word, I knew it
had to be outside Emacs.  I even made sure it happened with Right M and
Right S as well.

I used Unix in grad school in the early 90s for email, gopher, usenet,
etc so when I heard about Linux in '99 I switched.  The Gnome/KDE wars,
Unity, SystemD, Wayland and more...they all left me behind.

It is INSANE that the problem could have been in Wayland, X, Gnome,
PopShell, Mutter, and that it's all so hidden now.  I still have no
idea what was making the Num Lock prevent the $ from working when M was
pressed but not when S was pressed alone.

I am just not adept enough to switch to something like AwesomeWM or i3.
I have to shepherd my time to focus on Emacs and Org.

In desperation, I turned to a reliable, ancient (in Internet years)
resource: the mailing list, and I am grateful for the patience,
tolerance, and guidance I found.  I have used this list, the only one I
subscribe to, a few times for real org problems, and I learn a lot just
reading any subject that interest me.

> 
> 
> When I install a new system (regardless of platform, linux, mac,
> windows), my first task is usually to remove or remap shortcuts. These
> days, most environments use super, alt, meta and control based
> shortcuts, many of which interfere with my Emacs. I rarely use super
> in my Emacs key bindings, so often I remap useful WM shortcuts to use
> super.
> --
> Tim Cross

This is excellent!  I have a super on all my keyboards, so I could
easily do this on both my laptop (this one) and my desktop.  I usually
only remap caps lock to control and try to learn the shortcuts as
given, but since I really ever only use my two computers (my laptop and
desktop), it makes no sense to worry about muscle memory if I use
another, so I should just change them all to what fits me best.

Thanks again, and for reading this discursive ramble if you got this
far.  This list is an example of what drew me to Linux/Emacs/Org to
begin with!

Gratefully,  
Bo Grimes




[Resolved]Re: OT: M-S-$ Not Working

2021-02-05 Thread Bo Grimes
On Fri, 5 Feb 2021 21:40:25 +0700
Maxim Nikulin  wrote:

> On 05/02/2021 06:25, Bo Grimes wrote:
> > 
> > OS: PopOS 20.10, DE: GNOME 3.38.2 WM: Mutter
> > GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14)
> > 
> > M-S-$ does not spellcheck word.  
> 
> Does C-h l view-lossage show something useful after an attempt to 
> perform spellcheck? Is there anything in the *Message* buffer?

Thanks! I didn't know C-h l, and I never thought to check messages.
Sorry, I'm a non-tech, learn-what-I-need-as-I-go-but-committed-to-FOSS
guy.

Unfortunately, messages doesn't show anything, and here's the output of
C-h l, which I ran first as a marker, then typed a commonly misspelled
word, did M-S-$, and then ran it again:

 C-h l [view-lossage]
 m [org-self-insert-command]
 i [org-self-insert-command]
 s [org-self-insert-command]
 p [org-self-insert-command]
 e [org-self-insert-command]
 l [org-self-insert-command]
 l [org-self-insert-command]
 C-h l [view-lossage]

Nothing between the last two, which is when I did M-S-$

> 
> I could not suggest something in the case of wayland session, but if
> it is X11 then attempt to acquire key grab should fail if another 
> application already set this shortcut. So you could try if e.g. 
> xbindkeys would report a conflict if such keystroke is added to its 
> config. I have never used it, but there is an interesting feature 
> XF86LogGrabInfo: 
> https://askubuntu.com/questions/406543/unable-to-set-a-shortcut-to-grab-screenshot-area
>  
> Due to global shortcut emacs should lose focus for a moment and it 
> should be noticeable. I would also check if xev reports expected key 
> symbol. Just to be sure that $ is in its usual place yet.
> 

So, that took me down a rabbit hole that led me nowhere in terms of
understanding wayland, Xorg, or X11 configs, BUT, somewhere down there
I got to thinking about how one of the first things I do on a new
system is remap Ctrl to Caps Lock.  I usually just do setxkbmap -layout
us -option ctrl:nocaps, but in attempting to see if there was a
problem there I was led to closely examine Tweeks Additional Layout
Options, where I saw Shift Does Not Cancel Num Lock, choose 3rd lvl
instead.

I have no idea what 3rd level is, but before I ticked it I turned off
my number lock, and C-S-$ worked!  So I ticked it and it stopped
working.  So I unticked it and ticked Number keypad always enters
digits, which is, of course, why I use Num Lock to begin with.

With that ticked Emacs behaves as expected.  I have always used Num
Lock and never had that problems

Wow!  Thanks for taking the time to put me in the rabbit hole on an
OT message!!! Frustrating, but less frustrating than a new distro or DM,
and I learned some things!  I am really grateful!

Cheers,
Bo Grimes




Re: OT: M-S-$ Not Working

2021-02-05 Thread Bo Grimes
On Fri, 05 Feb 2021 14:20:46 +1100
Tim Cross  wrote:

> Do you see the same behaviour if you run emacs -Q?

I hadn't tried that, which should have been a first step, but I just
did, and yes. Nothing happens and Emacs gives no feedback.

I did go ahead and try a new DM (Regolith, because it's built on Ubuntu
and Gnome, so I thought it would easily integrate), and M-S-$ works
fine, so it has to be somewhere in Pop or Gnome shell, but I'll be
danged if I can figure it out.

At this point I'll probably either rebind it or install a DM like Mate
that won't require too much adaptation.  Thanks for the suggestion! 



OT: M-S-$ Not Working

2021-02-04 Thread Bo Grimes
I beg your indulgence.  I am confident this isn't an Emacs problem, let
alone an org problem, but my eyes hurt from searching for an answer,
and this list, the only one I subscribe to, is populated with gurus.  I
promise never to use it this way again.

OS: PopOS 20.10, DE: GNOME 3.38.2 WM: Mutter 
GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14)

M-S-$ does not spellcheck word.  It will work from the menu bar, and it
will work if I drop into a tty and run Emacs.  Emacs gives no
response in the minibuffer in the GUI when I press M-S-$. M-x
describe-key M-S-$ does nothing. C-h b C-s 'spell' reveals that indeed
M-S-$ is bound to spellcheck word. And other M-S- keys work like M-S->
just fine.

There has to be some keybinding outside Emacs taking precedence. I have
gone through dconf-editor until my eyes bleed. Done gsettings
list-recursively  org.gnome.desktop.wm.keybindings | sort | more and
gone line by line.  I have done dconf dump / > dconf.dump and read
through them all, in addition to checking PopOS' keybindings in
Settings. And trying a different keyboard.

Nothing in Tweeks, dconf, or Settings uses M-S-$, but I disabled
anything that uses Shift anyway (nothing uses $). No joy. I don't want
to rebind it for this machine only, nor do I want to go through the
hassle of installing a different DM/WM.

StackExchange, et.al are full of problems with the the M key, but not
one specific keychord only.

Any ideas? I will accept rebukes.  I'm desperate.  TIA!

Bo Grimes



Re: Document containing different text colours?

2020-08-06 Thread Bo Grimes
It feels to me like this should be possible because syntax highlighting 
mixes colors.  I am woefully inadequate to help, but I feel like 
mentioning this might spark a guru's imagination.


I remember years ago when I used Notepad++ on Windows it allowed 
user-defined syntax highlighting, and I did so for my GTD system at that 
time.  I have no doubt one could create a personal syntax highlighting 
scheme in Emacs, but (how(me(ask(don't)))! <--- I'm sure that's absurd, 
but hopefully a funny indicator of my ignorance.


It would be a stop-gap with some pitfalls, but perhaps make all 2nd 
draft text bold and all 3rd draft italics.  The obvious pitfall is any 
already emphasized first draft text.


On 8/5/20 8:37 AM, Sharon Kimble wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


In a book that I am writing, the text is white on black background which
I like. But this is only the first draft, when its ready I shall go onto
the second draft and then third draft, as many as necessary to polish
the book before it goes to the beta-readers.

So the first draft is white text on a black background, is it possible
for all the second draft text to be in a different colour that I assign
to it? And ditto third draft onwards?

I envisage something like setting the text with 'M-x second-draft-text'
which will then display the new text with its assigned colour. Which
will also mean that the document will have multi-coloured text in it?

Is this possible?

And if it is possible, how do I do it please?

Thanks
   Sharon.
- -- 
Debian 10.2, fluxbox 1.3.7, emacs 27.1, org 9.3.7

-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl8qp/YbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbXdsP/RWZdu+1N1V+ZCXUmnX3
deLkWS5APBK1zltakwg4Mm7ZxgkTLjEaXrVvpm4i8zMcTXqT38U7HUiUW870hTAC
aH9bEDku+R/F79ibBOZxasEl8S5DnLhK7skplbKBHp8OftV3GWPDTntBr8+F6cre
/tQvVxkd/GDeGZxDvKRuRNEAZN1a05dnfmv6/O0XJ2PpI7rAqMOAEigxpV8G3elk
fFbBmqObJLcJdTOlHu3b3MljnVbo2ePv7q/6Xwgez0g0Q0+Bj6ZW01IMfTr5aRd2
9He+l+ds64M8m2M5NZAME2O7PutgM4IjF6ccp7MAfAkHCWy9t+H1BG6u7xxcT4Oh
ys9wEb2PW6bxl3YPjsx3ByNPup0dZpufudDvNqk2IX4t6qIea/1v6AEwqfic1s5O
DrWX3A6TDj9RcLZN5sPHXC9e4WMfGkbngGwdNo5nkquULwUg91ySBAWEJ3z2TohZ
9/U6W8eV0rvm12GTe3wNssNcrDSfvXXT70Bm8ii94u4w44zBCWiq/puLqgFivutl
u5sNPIedyULbdj+n8SKfmpRZFnfClQA1cVLl6wiTOZx1WubZR++C9IsJhhaLp7kP
ZaLh1Q2zIVYJxp7OolUsdJ40AFrcDI8Y6ra6YWYnpuq7Cgza+l2UI7YFWSXfJLMC
RDz4BPP61uqJQqQ9GKq09EMd
=3YW5
-END PGP SIGNATURE-


--
Bo Grimes


Re: Website revamp?

2020-08-05 Thread Bo Grimes

On 8/5/20 6:26 AM, Eric S Fraga wrote:

   Org mode on the move is brilliant to have.


Agree!  However, because I too find screen keyboards "very annoying" and 
small screens even more so, my use of Org on the move is limited to 
Orgzly--which is a wonderful app, but I have only one file I use, 
mobileGTD.org, the notes and tasks in which quickly get moved the next 
time I am at my 32'' monitor!


--
Bo Grimes


Re: Website revamp?

2020-08-05 Thread Bo Grimes


On 8/4/20 1:54 AM, Eric S Fraga wrote:

On Monday,  3 Aug 2020 at 10:03, to...@tuxteam.de wrote:

Emacs should run fine on PostmarketOS [1] [2]. Thus Org, too.

Emacs runs perfectly fine on Android via termux and org works as well (as does 
gnus!).

But the issue is the keyboard.



Have you tried "Hacker Keyboard"? I don't use my phone for much, so I 
can't really say, but I know it has esc and ctrl keys and other "real" 
keyboard features.


--
Bo Grimes


Re: Website revamp?

2020-08-04 Thread Bo Grimes

On 8/4/20 11:48 AM, Maxim Nikulin wrote:
As to installation, I believe that org-mode bundled with Emacs is more 
than enough for first try. It is a shorter path to become familiar 
with most prominent features just to start editing of an .org file (or 
to download a prepared demo .org). Getting the latest stable version 
could be a next step for the hooked users. 


I might disagree, slightly, mostly with the last sentence.  This is one 
of the very few issues I feel semi-competent to comment on.  It would be 
impolite to actually say what I thought the only meaning of 'lisp' was 
before Emacs, which I had tasted and spit-out a dozen times before 
really reading in depth about org-mode.  I have expanded my Emacs 
horizons to include org-journal, emacs-w3m, org-roam, ERC,  and 
writeroom  modes, but I don't code.


This is relevant because I had always been satisfied with the built-in 
org-mode.  A couple of weeks ago, when I decided to give org-roam a try, 
my best guess is org-roam pulled in 9.3.6.  That is my best guess 
because suddenly it was there, and that is the only recent package I had 
installed.


That may not be the case, but regardless, I learned I had 9.3.6, which I 
never explicitly installed, when I ran into some errors.  I can no 
longer competently describe exactly what I was doing, but I am pretty 
sure it related to calling org-journal.  I know whatever I was doing 
caused an error message: "Invalid function: org-preserve-local-variables."


I spent some quite frustrating hours searching, and this error was 
frequently mentioned with org-refile, and I think helm and babel.  I was 
on the verge of mailing the list, but I wanted to say I had tried the 
best advice I found [1], and I did so by backing up my entire emacs.d 
and then deleting all .elc files. This worked. I've no understanding of 
the underlying technicalities, and I'm pretty sure I had never heard of 
byte-compiled files (except in the most general sense unrelated to 
Emacs).  It was literally like magic ( maybe magit :-) ) to me when 
Emacs repopulated all my .elc files!


I would, therefore, encourage any new users coming to org-mode and/or 
Emacs to start with the highest, most stable version of both that is 
available to them with their level of competence (for me that is always 
what is in my distro's package manager) and with the further 
explaination that they might run into issues down the road if they don't.


It is true that "[g]etting the latest stable version could be a next 
step for the hooked users", but I have used org-mode for five years 
without doing so, and many people may be so excited (like I was) that 
they finally found the One True Note-taking Tool (tm) that they 
immediately start blindly build an entire system only to crash into a 
byte-compiled wall. Their very first TODO should be "upgrade org-mode 
soon," [2] like "Call Mom" is in the todo.txt examples.


[1] https://github.com/syl20bnr/spacemacs/issues/11801 (I won't engage 
in the pretense of beginning my footnotes with 0 :-) )


[2] The idea that someone would use org-mode and not get "hooked" is 
paradoxically unimaginable.


--
Bo Grimes


Re: Superscript and non-blank character

2020-07-15 Thread Bo Grimes
Ian is a "steely-eyed rocket man"!  I thanked him off-list in order not 
to clutter it up, which led to several more exchanges. I wanted to add 
my final reply to him to the list in case others find it helpful in the 
future.


Begin quote:

I couldn't get it to work, but...it may have been that instead of 
closing the file I was testing on I was rather doing M-x eval-buffer.  
It kept giving me errors about entities or something.


However, after reading your links on local variables and more digging 
around on forums I decided to try footers before trying it in init.el.  
Thus, I arrived at:


> # Local Variables:
> # mode: org
> # org-match-substring-regexp: 
"\\(\\)\\([_^]\\)\\(\\(?:{\\([^{}]*?\\|\\(?:[^{}]*?{[^{}]*?}\\)+[^{}]*?\\|\\(?:[^{}]*?{\\(?:[^{}]*?{[^{}]*?}\\)+[^{}]*?}\\)+[^{}]*?\\)}\\)\\|\\(?:(\\([^()]*?\\|\\(?:[^()]*?([^()]*?)\\)+[^()]*?\\|\\(?:[^()]*?(\\(?:[^()]*?([^()]*?)\\)+[^()]*?)\\)+[^()]*?\\))\\)\\|\\(?:\\*\\|[+-]?[[:alnum:].,\\]*[[:alnum:]]\\)\\)"

> # org-pretty-entities: t
> # End

This also did not work when I evaluated the buffer.  After carefully 
rereading your last reply and noticing "The test is to save it with an 
.org extension and open it. When you try to open it, emacs should ask 
you if you want to load 'values that may not be safe'" I deduced I 
should close the file and re-open it (duh!).


This time I got the prompt you mentioned, and after accepting the risk, 
Viola! Rather than attempt it the original way, I think I will keep it 
as a footer where it is less distracting to me.



On 7/14/20 7:51 AM, ian martins wrote:

Bo, you can try this. I don't know what else it will break, so I did it as
a file local. alternatively you could set `org-match-substring-regexp' in
your init.

---
;;; -*- org-match-substring-regexp:
"\\(\\)\\([_^]\\)\\(\\(?:{\\([^{}]*?\\|\\(?:[^{}]*?{[^{}]*?}\\)+[^{}]*?\\|\\(?:[^{}]*?{\\(?:[^{}]*?{[^{}]*?}\\)+[^{}]*?}\\)+[^{}]*?\\)}\\)\\|\\(?:(\\([^()]*?\\|\\(?:[^()]*?([^()]*?)\\)+[^()]*?\\|\\(?:[^()]*?(\\(?:[^()]*?([^()]*?)\\)+[^()]*?)\\)+[^()]*?\\))\\)\\|\\(?:\\*\\|[+-]?[[:alnum:].,\\]*[[:alnum:]]\\)\\)";
org-pretty-entities: t; -*-

here are some verses where there's a space after the verse number:

^1 In the beginning God created the heavens and the earth. ^2 Now the earth
was formless and empty, darkness was over the surface of the deep, and the
Spirit of God was hovering over the waters.

if you don't want the space after the verse number, you can use curlys:

^{3}And God said, “Let there be light,” and there was light. ^{4}God saw
that the light was good, and he separated the light from the darkness.
^{5}God called the light “day,” and the darkness he called “night.” And
there was evening, and there was morning—the first day.

On Fri, Jul 10, 2020 at 8:33 PM Bo Grimes  wrote:


Emacs 26.3, Org-mode 9.1.9, Kubuntu 20.04, 5.4.0-39-generic

Hi,

I've tried my hardest to find an answer in the manuals (print book and
on-line), this list, Reddit, and Stack Exchange with no luck.  I use Emacs
for org-mode, and I don't code or know Elisp.  I have no use for or
interest in learning LaTeX.  I never use subscript, and I only use
superscript in poetry/prose (mostly quotes, not original), and I don't
foresee (but admit I may) a need to export.

I understand that:

^2H is not recognized as superscript _on purpose_. Per Org syntax, you
have to add a non-blank character before the caret. Otherwise, there would
be ambiguity between underline (e.g., _under_) and subscript (_under). And
superscript syntax follows subscript's. [1]

That makes sense to me as a default [2], given that so many org-mode users
use both in math, science, and literate coding context, so I wouldn't think
to suggest it to be changed.  All I want to know is how I can change it for
*me*.

I would like to org-toggle-pretty-entities in a buffer and see superscript
before, say, a poetry line or Bible verse I'm quoting in a note or journal
entry, and not see the non-blank character.

Can this be done via customize or with an Elisp snippet in init.el?

Thanks!

[1] https://lists.gnu.org/archive/html/emacs-orgmode/2014-06/msg01022.html

[2] Though I wish it were made explicit in the manuals
https://orgmode.org/manual/Subscripts-and-Superscripts.html#Subscripts-and-Superscripts
(Org Mode 9 Reference Manual p 132). It took me a while to figure out why
it wasn't working at all.







Superscript and non-blank character

2020-07-10 Thread Bo Grimes

Emacs 26.3, Org-mode 9.1.9, Kubuntu 20.04, 5.4.0-39-generic

Hi,

I've tried my hardest to find an answer in the manuals (print book and 
on-line), this list, Reddit, and Stack Exchange with no luck.  I use 
Emacs for org-mode, and I don't code or know Elisp. I have no use for or 
interest in learning LaTeX.  I never use subscript, and I only use 
superscript in poetry/prose (mostly quotes, not original), and I don't 
foresee (but admit I may) a need to export.


I understand that:

^2H is not recognized as superscript _on purpose_. Per Org syntax, you 
have to add a non-blank character before the caret. Otherwise, there 
would be ambiguity between underline (e.g., _under_) and subscript 
(_under). And superscript syntax follows subscript's. [1]


That makes sense to me as a default [2], given that so many org-mode 
users use both in math, science, and literate coding context, so I 
wouldn't think to suggest it to be changed.  All I want to know is how I 
can change it for *me*.


I would like to org-toggle-pretty-entities in a buffer and see 
superscript before, say, a poetry line or Bible verse I'm quoting in a 
note or journal entry, and not see the non-blank character.


Can this be done via customize or with an Elisp snippet in init.el?

Thanks!

[1] https://lists.gnu.org/archive/html/emacs-orgmode/2014-06/msg01022.html

[2] Though I wish it were made explicit in the manuals 
https://orgmode.org/manual/Subscripts-and-Superscripts.html#Subscripts-and-Superscripts 
(Org Mode 9 Reference Manual p 132). It took me a while to figure out 
why it wasn't working at all.






[O] Agenda and Relocated Files

2016-08-04 Thread Bo Grimes
I am just getting into both Emacs and Org Mode, and I tried to find the 
answer in the manual and archive.  If it's in the manual I don't yet 
understand enough to have recognized it and the mailing list archive is 
returning: 


I only have about 10-12 org files so far, but I just realized for my 
productivity and workflow I really need to redesign my folder system.  I 
currently only have 5-6 of them in the agenda list.  I suspect I will 
need to add and remove them from the agenda list after I change their 
location.


Is that correct? Emacs won't automatically detect such a move will it? 
I've heard there's a mode for causing butterfly wing-flapping to cause 
radiation to change bits (or some such), so I'm thinking maybe.


It won't be much trouble at this point, but I figure this may be 
something that comes up again. I realize I could just add an entire 
folder to the agenda list, but I anticipate really only having about 10 
org files that need to be added to the agenda, so I am thinking:


Design directory structure --> Move Files Accordingly--> Change Agenda List

Or is there a C-c C-? razzle-dazzle that does it?