Create a 3-line file named foobar.org containing exactly this:
* foo
** bar
baz
(So the first character of the file is *.) Type
emacs -Q foobar.org
and type
TAB M-: (isearch-forward) RET b RET
(this folds everything, then calls the isearch-forward function, searches
for b which will unfold e
Create a 3-line file named foobar.org containing exactly this:
* foo
** bar
baz
(So the first character of the file is *.) Type
emacs -Q foobar.org
and type
M-x reveal-mode RET TAB M-g g 2 RET
which will activate reveal-mode, fold everything and go to the
beginning of the second line ("** ba
abbrev-alist
'(
("google" . "http://www.google.com/search?q=";)
("gmap" . "http://maps.google.com/maps?q=%s";)
))
Example org markup:
[[google:org-mode][org-mode on google]]
-Brett.
pgpDDe58dMKmx.pgp
Description: PGP signature
ating
data. Can macros be nested? Can they have newlines?
2) I prefer "fig:label" type labels in LaTeX but the HTML export
apparently forms the link translating ":" to "-". So, this must be
taken into account when the macros are called.
Any other ideas?
Thanks,
Hi Bastien,
Bastien writes:
> Brett Viren writes:
>
>> Can they have newlines?
>
> I don't think so -- did you try?
Now, there is an idea! I had not tried, but yes, the are accepted and a
"multiline" macro can be defined using '\n' character
I'm sure there are lots of issues and details with this idea so I
just toss it out there.
-Brett.
pgpTinPD3BPee.pgp
Description: PGP signature
the first two but LaTeX
doesn't accept it. Likewise, LaTeX wants PDF but inline and HTML export
do not.
Anyway to eat my cake?
Thanks,
-Brett.
pgpIaTlUSMolG.pgp
Description: PGP signature
var. to locate where my plots should output.
I'm an org-newbie so maybe there are better ways.
-Brett.
pgpZ7AoYIND5t.pgp
Description: PGP signature
table but that leads to an "undefined control sequence" error.
How can this be done?
Thanks,
-Brett.
pgphS6Yo1v4pd.pgp
Description: PGP signature
\
> \includegraphics[]{plots/file2.eps}
> \end{tabular}
> \caption[Caption in LOI]{Long caption}
> \label{fig:somelabel}
> \end{figure}
> #+end_latex
Okay, thanks! I didn't think about just putting it directly in LaTeX.
This will works just fine for my
ime the search
turned up a nice one-liner:
#+LATEX_HEADER: \usepackage{fullpage}
I might even be able to remember this one next time.
Cheers,
-Brett.
pgpKk6H7E_so_.pgp
Description: PGP signature
the content of EXAMPLE blocks in the first place. I do like:
C-c'
Where is me pasting or typing whatever is the content of the
EXAMPLE block.
This will not only indent the entire block with a couple of spaces but
will "escape" the problematic headline asterisk with the "
ssful "C-c hh".
So, the upshot is I have to keep adding and removing the :post to make
things work in different contexts. This is obviously not so smooth.
Is there some way to both have my cake an eat it too?
Thanks!
-Brett.
pgp9XklYJJw8A.pgp
Description: PGP signature
I changed this to use the "re" version:
#+BEGIN_SRC emacs-lisp
(add-hook 'org-babel-after-execute-hook
(lambda () (org-redisplay-inline-images)))
#+END_SRC
and it works great!
-Brett.
pgp_IbEYy8Wl6.pgp
Description: PGP signature
Matt Lundin writes:
> Let's hope the real blog (when I get around to publishing it) is more
> interesting than the example above. ;)
Maybe it would be more convenient to add the "meta-ness" you want as
part of a new exporter process?
-Brett.
pgpX0dUH7NC9P.pgp
Description: PGP signature
Matt Lundin writes:
> Brett Viren writes:
>>
>> Maybe it would be more convenient to add the "meta-ness" you want as
>> part of a new exporter process?
>
> To change the "meta" wrappers for code block results, we would have to
> modify org ba
Matt Lundin writes:
> That sounds interesting. I look forward to hearing more!
It's not yet usable for anything real but I'm keeping the work here:
https://github.com/brettviren/orgonpy
-Brett.
pgptNgTBz8D6F.pgp
Description: PGP signature
Hi,
I'm trying to write my RPG adventures in org-mode and would like to bring
character sheets into that fold. Is there a way in Babel to have a vast
number of named variables that I can feed into source blocks? Are macros
the way to achieve this?
As an example, I'd like something like a big (hid
Hi,
Has anyone made a module to normalize tags across your entire setup? That
is if you have "Blog" and "blog" as tags, then you fix it as one or the
other, or "hint" and "tip" tags being collapsed.
If not, would people be interested in that?
BrettW
o do unit conversion. Not shown but
Pint Quantity objects support arithmetic so are useful for carrying
units through some calculation.
For assigning to variables - presumably for use in later blocks - maybe
you can investigate using the :session header argument to source blocks.
Have fun,
-B
Hi,
Is there a special property that contains the text of a headline but not
the stars, todo, tags or any of that other data?
Alternatively, is there a way to clean up %ITEM before giving it to a
column-view?
BrettW
("g" in Groups). Things have now vastly improved
since moving my Maildirs to a SSD.
-Brett.
pgpdCvvL5sXuj.pgp
Description: PGP signature
Thanks! It'd be nice if there was a way to turn this into a property for
easy dynamic columnview blocks, but I guess you can't have everything :)
BrettW
On Wed, Sep 17, 2014 at 2:36 AM, Thorsten Jolitz wrote:
> Brett Witty writes:
>
> Hi,
>
> > Is there a specia
of a table, and I have
all the metadata without the actual headline by itself.
I'm unsure if the special properties "HEADING" and "ITEM" are confusing as
being slightly different concepts, so a better name might be good.
Brett Witty
ot;assistant". It was pretty painless to set up hosts where I could run a
local web browser. I was also able to easily set up a remote annex on a
headless git/SSH server via the web app.
I followed this:
http://git-annex.branchable.com/assistant/quickstart/
-Brett.
pgpuwO89OFSzn.pgp
Description: PGP signature
g$")
(find-lisp-find-files "~/org/web/notes/" "\\.org$"))
)
If anyone knows better ways to do this, I'm all ears. I'm particularly
wondering how long-running org sessions will handle newly created topics
or notes in this setup.
-Brett.
pgp983NtKSPH7.pgp
Description: PGP signature
Seems like a good solution. Although how about HEADLINE_LEVEL,
OUTLINE_LEVEL or some abbreviation to make it more unlikely to clash with
user defined properties?
BrettW
On Tue, Oct 21, 2014 at 12:16 AM, Nicolas Goaziou
wrote:
> Hello,
>
> Bastien writes:
>
> > Nicolas Goaziou writes:
> >
> >>
lycastus
: -rw-rw-r-- 1 bviren bviren 16 Nov 18 10:27 foo.sh
: ---
: export FOO=bar
:
: ---
: bar
If the setup is purely environmental, and it takes a long time to
perform, maybe you could do the set up once and then cache the resulting
environment using the output of "env".
-Brett.
pgpgZL2hLBQi4.pgp
Description: PGP signature
urce the result
as the first line in each subsequent shell code block.
A starting point would be something like the following, but this does
not properly handle and sh functions defined.
#!/usr/bin/env python
import os
for k,v in os.environ.items():
print 'export %s="%s"' % (k,v)
Good luck!
-Brett.
pgpHzOCk2dOsk.pgp
Description: PGP signature
n:[0/3] missing [1/3])
- [ ] section 1 (person A)
- [R] section 2 (person B)
- [C] section 2 (person C)
- [-] Chapter 2 (received:[1/1] converted:[1/1] frozen:[1/1] missing [0/1])
- [F] section 1 (Person D)
Is there anything which gets me in this direction?
Thanks,
-Brett.
pgpyM8HpW
iew :vlines t :hlines 1 :id "document-status"
#+END:
Go to "BEGIN" and hit C-c C-c and a table will be inserted. Then a
normal export to HTML can be done.
-Brett.
pgpO6qFZcERmh.pgp
Description: PGP signature
th elisp).
Is there anything I can do to debug this further?
Thanks,
-Brett.
pgpJZFNBqF1WX.pgp
Description: PGP signature
Max Mikhanosha writes:
> Just committed a potential fix, can you see if it works? Commit
> 0d68eef0372b6b57359a49cb5e35b67c651c5ee2
Works great!
Thanks,
-Brett.
pgpAYtFdzq95n.pgp
Description: PGP signature
eld [1] is a Free and capable GUI merge
tool. It can be used directly or can be invoked by git to resolve merge
conflicts.
-Brett.
http://meldmerge.org/
pgpXrGc9cQ3V4.pgp
Description: PGP signature
was that I could put lisp
directly in a header like this! Now, I just gotta learn elisp
better
Also, I'd certainly be interested to hear of any better ways to
accomplish this.
Thanks,
-Brett.
[1] The versions I'm using are
- Org-mode version 8.0.3 (8.0.3-elpa @
/home/bviren/.
prompt would be icing on an already tasty cake.
-Brett.
pgpi4jxziOuQp.pgp
Description: PGP signature
ot;graph.pdf") (t
"graph.svg"))
#+header: :export results
#+begin_src dot
digraph Name {
tail -> head;
}
#+end_src
-Brett.
pgprOFxwMXXfh.pgp
Description: PGP signature
vide data provenance and idempotent running
in a general sense. There's already been some work on this ("bein",
"pyutilib workflow" and "sumatra" to name some Python oriented ones) but
so far nothing that "just fits". I'm in the middle of trying my hand at
something better, but it's not yet usable.
-Brett.
pgpgHPRVolmV1.pgp
Description: PGP signature
an issue tracker in Org is very interesting. I look
forward to seeing how it evolves.
-Brett.
pgp6kwuMSCpiV.pgp
Description: PGP signature
#x27;ve started to go through your related github repositories to figure
out what you do but if something more guided exists it would help.
Thanks,
-Brett.
Carsten Dominik writes:
> Hi,
>
> I don't know if this has been linked to before on this mailing
> list. At SciPy 2013,
John Kitchin writes:
> Here is part of how I use org-mode to publish to my blog:
> http://jkitchin.github.io/blog/2013/09/27/Publishing-to-blogofile-using-org-mode/
Thank you very much for typing this up! I now have some weekend
entertainment to try and replicate it for myself.
an use it as an excuse to learn org's new export system.
-Brett.
PS: rough example org file might look like:
* Boss
:PROPERTIES:
:Actor: Bob Bigbooty
:URL: http://www.example.com/boss.html
:NodeColor: blue
:END:
The boss dictates.
** Middle Manager
:PROPERTIES:
:Actor:
:URL: http://
function bv-daily-log-file)
"\* %U %^{title}\n %a\n\n%?"
:empty-lines 1)
)))
Thanks,
-Brett.
pgp3fjuT9LesZ.pgp
Description: PGP signature
function.
The Elisp manual mentions that save-selected-window is sometimes a
better alternative but that gives the same behavior.
Do you maybe have further ideas I could try?
Thanks,
-Brett.
pgpmfnukccpMQ.pgp
Description: PGP signature
Bastien writes:
> Capture templates using `function' should now return back to the
> correct window location. Thanks for raising this,
Thanks so much for putting time in it!
Regards,
-Brett.
pgpgYsSYgPjri.pgp
Description: PGP signature
n have a go at making such a "shunt" exporter.
Before I try, I just wanted to check if someone had this wheel already
spinning.
Thanks,
-Brett.
pgpOHJn2FZTRp.pgp
Description: PGP signature
did try throwing a JSON parser/generator[4] at the output of
org-element-parse-buffer but this failed due to exceeding emacs's
recursion limits. I think this must be from the ":parent" references
getting recursed on forever.
-Brett.
[1] one must (setq print-circle t) to avoid ema
ported to the new exporter, however the new
> ox-texinfo backend can generate DocBook format. Once file.texi is
> created via ox-texinfo, simply execute:
>
> makeinfo --docbook file.texi
Thanks. I did try this but makeinfo failed on the texinfo file that was
produ
ed to follow some other recent advice in another thread
about using substring-no-properties to strip out the meta data from the
plain text elements. But this apparently is a net no-op as I suspect
that the org-element-set-contents then puts them right back.
I feel like I'm pretty close.
ffer directly and only to the level of headings. Ultimately I
want to emit JSON to get at the full detailed document structure so this
probably isn't in the direction I want to go.
-Brett.
pgp1Mae8rSsOL.pgp
Description: PGP signature
, for now, nulling :structure in the same way as :parent let's me
chain org->JSON->Python! The first elisp code block in the test doc
below works.
Thanks for all the patient help from everyone. I've learned a lot.
-Brett.
#+TITLE: The Title.
Blah blah blah.
* A heading
ot
just you.
Right now, on my work system your test succeeds:
Org-mode version 8.2.10 (8.2.10-41-g42228a-elpa @
/home/bviren/.emacs.d/elpa/org-20150622/)
-Brett.
signature.asc
Description: PGP signature
, instead, I want the result:
#+RESULTS:
#+BEGIN_SRC json
{"foo":"bar", "baz":"quax"}
#+END_SRC
Is there some arg to the initial source block which I'm missing?
I guessed with that ":format json" arg. With or without it makes no
difference.
Thanks!
-Brett.
signature.asc
Description: PGP signature
"Charles C. Berry" writes:
> Try `:wrap src json':
Works perfectly, thanks. I had missed this in the manual, but it was
there for me all along!
http://orgmode.org/manual/wrap.html
-Brett.
signature.asc
Description: PGP signature
In the following table, the last row gives the number of empty cells
following the last nonempty cell in each column (except the first column
of course). I would like to create a TBLFM formula that does this
calculation for me automatically. Some time ago I tried using
org-lookup-last and org-lo
Fantastic. Thanks Michael.
Michael Brand writes:
> Hi Brett
>
> On Sat, Feb 20, 2016 at 8:41 PM, Brett Presnell
> wrote:
>
>> In the following table, the last row gives the number of empty cells
>> following the last nonempty cell in each column (except the fir
etter define what you mean by "easy"?
In the end, developing my own generator was easier than trying to adapt
existing ones. There are a lot of great ones out there, especially if
you expand to allow Markdown ones (either native authoring or using
Org's Markdown export), but none d
ow I call "joy" to rebuild the site. I use "waf" to
do that and its control file is:
https://github.com/brettviren/org-pub/blob/master/wscript
I only have this working on my laptop now so I can't show you the
results at the moment.
-Brett.
signature.asc
Description: PGP signature
directly using
GPS/WiFi location and uploading the results to google drive or similar.
However, I've never managed to find one which I can make work reliably.
-Brett.
signature.asc
Description: PGP signature
for future humans to follow.
-Brett.
Ken Mankoff writes:
> Hi Org and GRASS lists,
>
> I just wanted to let these two lists know that I've just posted a
> paper written in Org and using GRASS (text-mode) and Python for the
> analysis. My goal was to create not just an open acc
all this an "ECM", a French acronym that means a
"minimal complete example".
Cheers,
-Brett.
I agree with Rasmus' position. Just because the org format is plain text,
doesn't mean the Emacs keybindings have to act identically to, say,
Notepad. Otherwise, what's Emacs for? Similarly, I don't expect TAB to
insert tabs into an org-mode document.
While there can be a bit of a culture shock ge
to the article that spawned my task/idea is
fantastically useful.
In your pipe scheme maybe there is some way you can preserve this link
back.
-Brett.
pgpeqX1xVTzBZ.pgp
Description: PGP signature
.
At the end of the day one will have a DOM-style data structure
representing the initial org document.
-Brett.
pgpRE1ypSZwl8.pgp
Description: PGP signature
François Pinard writes:
> Brett Viren writes:
>
>> http://permalink.gmane.org/gmane.emacs.orgmode/79838
>
> This yields:
>
> ,
> | Not Found
> |
> | The requested URL /gmane.emacs.orgmode/79838 was not found on this server.
> `
Huh, maybe a t
ould be resolved as a copy
instead of being stripped) which cause the emacs-side data structure to
become a Circular Object and thus break the emacs JSON dumper.
I just noticed that Python's JSON dumper can do this kind of stripping
implicitly and in general. It might be nice if someone
nd a private git
repo for org files. I would like to not have the (explicit)
commit/push/pull steps for org files and so have been testing btsync.
Ideally there would be some way to marry the benefits of both, but I've
yet to come up with one.
-Brett.
pgpfsIHSXtMGE.pgp
Description: PGP signature
alist
'(
("ghsite" . "https://github.com/brettviren/%h";)
("ghfile" . "https://github.com/brettviren/%(bv-link-resolve-github)")
("dbtrac" . "http://dayabay.ihep.ac.cn/tracs/dybsvn/ticket/%h";)
))
#+END_SRC
-Brett.
pgpR2F1YSCk2N.pgp
Description: PGP signature
ed:
C-c C-: is undefined
But, I confirm that mate-terminal (1.6.1-1.1+7.wheezy) and rxvt
(1:2.6.4-14) strip off the Ctrl. There the test produces:
C-c : is undefined
I note that mate-terminal does process Ctrl+Shift as some of its
shortcuts use this combo. So, it's "actively&quo
rg/org-api/org-element-api.html
Note, each node has a :parent reference which makes the data structure
circular. Traversing it must take this feature into account.
-Brett.
pgpCPGL3596sN.pgp
Description: PGP signature
t I hope for is something equivalent to git's .gitignore
functionality where I can place, say, .orgignore files full of regexp
patterns anywhere in my org source tree and have org-publish honor them.
Is there anything in this direction?
Thanks,
-Brett.
pgpYXBBGs4DBQ.pgp
Description: PGP signature
s would be the more natural pattern matching here
than regexp?
Either way, this will really help publishing from my messy source
directories
Thanks!
-Brett.
pgpd7fBn1fVHN.pgp
Description: PGP signature
milar.
A little screen cap is attached to show an example output.
-Brett.
<>
pgp1YsNo_YSNM.pgp
Description: PGP signature
arses the URL
(does that full URL get passed?) and invokes emacs to open foo.tex at
line 42?
If that much can be made to work (big if!) I see one problem in that the
/path/to will break if the source is moved.
Chance of success: 10%
-Brett.
pgpW9ggcB7moA.pgp
Description: PGP signature
Rainer M Krug writes:
> Brett Viren writes:
>> file:///path/to/foo.tex.orglink?line=42
> But jumping to the .org file would be the aim - right?
Yes, right. Maybe a better example is:
file://foo.orglink?line=42
which might get interpreted as "go to line 42 in ./foo.or
I pulled the latest org from git a few days ago. Now I can no longer
store links to email messages in mu4e with "C-c l". The message I get
is
No method for storing a link from this buffer
Nothing else has changed, and I am still able to pull up email message
by clicking on (old) links in o
I pulled the latest org from git today and still no joy in mu4e.
Interesting that the problem came and went in wanderlust but not in
mu4e.
> Hello,
>
> Brett Presnell writes:
>
> > I pulled the latest org from git a few days ago. Now I can no longer
> > store links t
better maintained as a part of org (like org-gnus.el and org-mew.el)
rather than as a part of mu4e.
Brett Presnell writes:
> I pulled the latest org from git a few days ago. Now I can no longer
> store links to email messages in mu4e with "C-c l". The message I get
> is
>
Nicolas Goaziou writes:
> Brett Presnell writes:
>
>> I'll report this to the mu developer in case he isn't already aware of
>> the upcoming change in org mode. I wonder if org-mu4e.el wouldn't be
>> better maintained as a part of org (like org-gnus.el a
sh attempt to deal with this in order to dump org-element
to JSON:
https://github.com/brettviren/joyful-web/blob/master/joy/org2json.el
See org-json-straigten-tree for how I nullified these elements.
-Brett.
signature.asc
Description: PGP signature
ranged. For example,
do either of your headlines appear elsewhere in your diff with their
"+/-" signs reversed?
-Brett.
signature.asc
Description: PGP signature
e?
In particular, I worry about my copy of org-html-headline diverging from
the real.
I read about export filters and extending an existing back-end, but I
think these do not apply, but maybe I have that wrong.
Thanks for any suggestions!
-Brett.
;..." tags. And I
don't see an export filter for this "..." part.
Or, maybe you suggest I do direct "surgery" on the TEXT argument that
gets passed in to the filter and insert the "..." that way? I guess it
could work to find the end of the "" opening tag and then insert
my "..." part. I'll try this approach.
-Brett.
isk of diverging away as
Org's original develops further.
-Brett.
Brett Viren writes:
> Or, maybe you suggest I do direct "surgery" on the TEXT argument that
> gets passed in to the filter and insert the "..." that way? I guess it
> could work to find the end of the "" opening tag and then insert
> my "..."
ty.
I think better would be able to explicitly state the desired URL path
for the HTML like:
#+html_url_path: /mysiteroot/images/unicorn.jpg
[[../images/unicorn.jpg]]
-Brett.
PS: imo, in this example, I think the real solution is to make Nikola
allow for keeping org+img source
I've taken to typing scores and brief comments into an org table when
grading my students papers. In order to extract the scores and comments
for each individual student, I use orgtbl-aggregate as follows (the
student's nickname in this case is assumed to be "tophat", and the table
containing al
front).
Then, recheck your agenda todo view.
-Brett.
signature.asc
Description: PGP signature
Sorry I sent this twice. Forgot that I was subscribed from my
member.fsf.org email address.
I have come upon a problem with export of multi-line table headers in
long (multi-page) tables. I can't imagine that this hasn't come up
before, but I wasn't able to google up any other reports, so ...
, including sourcecode is available at:
https://sr.ht/~brettgilio/org-webring/
If you want to participate in discussion or send patches, we have a
private mailing list I encourage you to subscribe to located at:
https://sr.ht/~brettgilio/org-webring/lists
Best wishes to all,
Brett Gilio
well, so if you see something that
should be changed, or have a suggestion please do not hesitate to
subscribe to our private mailing list for this package!
https://lists.sr.ht/~brettgilio/org-webring
That's all for now!
Brett Gilio
Marvin ‘quintus’ Gülker writes:
> Am Freitag, dem 21. August 2020 schrieb Brett Gilio:
>> I hope this post is well received. Today marks the first stable release
>> of org-webring. Org-webring is an alternative implementation of a
>> feed-based webring, taking inspiration
ettgilio.com/planet.html
Thank you,
Brett Gilio
[0]: https://brettgilio.com/posts/2020-08-20-announcing-org-webring.html
[1]: https://brettgilio.com/posts/2020-09-03-org-webring-status-update.html
Bastien writes:
> Hi Brett,
>
> thanks for sharing this! I had no chance yet to test this but it
> looks useful. I added a link to https://orgmode.org/worg/org-tools/
>
> Best,
Hello Bastien,
Thank you for the addition! I appreciate your support.
Brett Gilio
,
please reply to me off-list.
If you have no idea what org-webring is, please check the repository
below and a few examples[1][2][3]! Consider using it :).
[0] https://sr.ht/~brettgilio/org-webring/
[1] https://brettgilio.com/
[2] https://w96k.ru/
[3] https://blog.jamzattack.xyz/
--
Brett M
n-links:t
Is there a way I can have my cake and eat it too? That is, how can I
make a link between "sub" org files that can be followed by Emacs and
also that produces a valid HTML link when the main.org is exported?
Thanks!
-Brett.
$ ls *.org
a.org b.org main.org
$ for n in *.o
> I have begun thinking about how I might use Org mode to improve the
> experience of developing resources for the open source Moodle LMS or even
> developing entire Moodle sites.
Nice idea. You might find it useful to look into the source code for
the R/Exams package for R (https://www.r-exa
Probably a silly question, but in ob-R.el, what is the reason for
setting na=\"nil\" when defining org-babel-R-write-object-command? Is
this an elisp compatibility thing?
Regardless, I generally (always?) want na=\"\" for this, so I am finding
all those "nil"s very annoying, and the only way th
I can verify that the :post work-around suggested by Chuck and
implemented by Jeremie works as advertised.
FWIW, I would certainly prefer to see the implementation
org-babel-R-write-object-command changed so that the work-around
wouldn't be necessary.
Thank you to both Chuck and Jeremie for loo
I had to deal with this last spring. I finally got things working again
with mbsync, msmtp, mu/mu4e, and for the oauth stuff, pizauth. This
combination has worked well for me ever since. Most of the details can
be found at
https://brettpresnell.com/post/email/
I am still using an early ve
100 matches
Mail list logo