On Thu, Nov 16, 2017 at 9:23 AM Kaushal Modi wrote:
>
> Shouldn't that commit update this page:
> http://orgmode.org/worg/org-blog-wiki.html ? But it hasn't been updated.
>
>>
That page hasn't yet updated.
And it looks like worg stopped updating since this
On Sat, Dec 2, 2017 at 5:30 PM Nicolas Goaziou
wrote:
> Hopefully fixed. Thank you.
>
Yes, I confirm the fix. Thank you!
--
Kaushal Modi
something equivalent in English
but couldn't :)
[1]: https://www.google.com/search?q=neki+aur+pooch+pooch
--
Kaushal Modi
On Tue, Dec 5, 2017 at 11:44 AM Bastien Guerry wrote:
> I've fix something in the Worg publishing configuration, can you
> check again, maybe by making a test commit?
>
Thank you! It just made another commit and it got published instantly.
--
Kaushal Modi
ushalmodi/ox-hugo/blob/832a5d7424013f60b77354ec28613440afac0269/ox-hugo.el#L2424-L2448
[3]: https://github.com/kaushalmodi/ox-hugo/blob/master/Makefile
--
Kaushal Modi
PLE
- list level 2
#+BEGIN_EXAMPLE
At level 2
#+END_EXAMPLE
--
Kaushal Modi
an the rules in Org set to prevent auto-filling (like in Headings) be set
for Export Snippets too?
I am using the master branch, but I believe the same issue would be on
maint too.
Thanks.
--
Kaushal Modi
h, sorry, pilot error.
I had something like @@abc
def@@ in my actual test.. forgot the backend: string after @@.
Thanks!
--
Kaushal Modi
ge website[3] the same way too, but using
Netlify (/which is the better than GitHub Pages or Gitlab CI IMO -- free
too/). See the footer of that site for the 1-file Org source.
[1]: https://github.com/jwiegley/use-package/blob/master/doc/Makefile
[2]: https://github.com/jwiegley/use-package/blob/master/use-package.org
[3]: https://ox-hugo.scripter.co/
--
Kaushal Modi
On Fri, Dec 8, 2017 at 4:38 PM Matt Price wrote:
> This sounds fantastic, Kaushal. I'm struggling to follow, so wl lask some
> questions inline.
>
Sure, my answers are below.
- the doc/ directory contains the full Hugo source directory, with
> config.toml, content/, layouts,
of
http://orgmode.org/cgit.cgi/org-mode.git/tree/etc/ORG-NEWS and make a note
of new features and few breaking changes since that version.
--
Kaushal Modi
h Org, you get the correct version of the
manual from within Emacs.
PS: I figure this newbie message is not relevant to the folks at
> emacs-orgmode@gnu.org, so I'am not CCing it there anymore.
>
As I said in the beginning of the email, don't worry. We are all here to
learn and share.
> --
Kaushal Modi
ake ox export like
> >> interfaces?
> >
> > No, there isn't. However, Org provides `org-mks'.
>
> Good point. It isn’t quite as nice as the export dispatcher. Let’s wait
> and see what Eric prefers.
>
--
Kaushal Modi
On Tue, Dec 12, 2017 at 1:48 PM Eric S Fraga wrote:
> On Tuesday, 12 Dec 2017 at 14:02, Kaushal Modi wrote:
> > Copying this on both Emacs devel and Org mode list. Hopefully this
> > discussion is eligible for that.
> >
> > Problem statement: Need to have a pret
much more memorable
and accessible:
[image: image.png]
There are so many places like this that can get a facelift from hydra.
Did I hear that Magit was breaking its popup interface out into a
> separate library? If so, that would also be a nice thing.
>
That would be great too. We are basically missing a configurable library to
bind temporary key maps, that can make the bindings present in a
discoverable way to the user. So far hydra.el fits the bill.
--
Kaushal Modi
On Sat, Dec 9, 2017 at 1:11 PM Ruy Exel wrote:
> Dear Kaushal,
>
> The real treat is to read your nice message and to be a member of such a
> fantastic group of people!
>
> Following your advice to stick to a stable release I searched for info on
> how to install it and I
, though,
> we're still going to have to use something else for the Org structure
> thing.
>
Correct. That's why I spawned off this "something for future" thread, and
did not talk about this in the original thread[1] :)
[1]: http://lists.gnu.org/r/emacs-orgmode/2017-12/msg00221.html
--
Kaushal Modi
s to hit some X binding to get that popup interface.
I quickly went though hydra.el.. isn't defhydra mainly what it is? What
would you suggest splitting out of that library?
--
Kaushal Modi
rge-keep-base)
("u" smerge-keep-upper)
("l" smerge-keep-lower)
("a" smerge-keep-all)
("RET" smerge-keep-current)
("\C-m" smerge-keep-current)
("<" smerge-diff-base-upper)
("=" smerge-diff-upper-lower)
(">" smerge-diff-base-lower)
("R" smerge-refine)
("E" smerge-ediff)
("C" smerge-combine-with-next)
("r" smerge-resolve)
("k" smerge-kill-current)
("q" nil "cancel" :color blue))
> > I quickly went though hydra.el.. isn't defhydra mainly what it is? What
> > would you suggest splitting out of that library?
>
> I don't know enough about it to have a clear opinion on that.
>
OK.
Thanks.
--
Kaushal Modi
it
> of thought though, I think it could be integrated well.
>
I don't follow what the functional limitations are of what you said. How
does your concern affect a package author or the end user?
Adding @Oleh back to the thread.. hopefully he can weigh in.
--
Kaushal Modi
to the package author as to how much of hydra
features they want to pack into their package's hydras. hydra is not *just*
for showing available keys and/or *just* for chaining many single letter
commands. It's much more, in a good way.
--
Kaushal Modi
On Fri, Dec 15, 2017 at 6:23 AM Rasmus wrote:
> The only way it’s "bad" is in the sense it limits the flexibility of
> snippets, like " I can no longer have "
e code, I just do C-x 8 to insert →.
Full code:
https://github.com/kaushalmodi/.emacs.d/blob/master/setup-files/setup-unicode.el
Hope that helps.
--
Kaushal Modi
er
> > error: Could not fetch origin
>
> I can confirm this issue at least since 13th of December.
>
> Greetings
> Detlef
>
>
> >
> > If I recall correctly, this has happened before and the resolution was
> > that some admin needed to do something server-side.
> >
> > Thanks,
> > Josiah
> >
> >
>
>
>
>
> --
Kaushal Modi
Org can now eat its own
> dog food.
>
There are awesome news!
Would a template Org file be available that package authors can easily use
as a base to write their package manuals?
Many thanks! Will test it out next week.
--
Kaushal Modi
ut is expected to be sometimes different from the
current manual. This is not a 1:1 conversion.
Feedback welcome!
Regards,
--
Nicolas Goaziou0x80A93738
--
Kaushal Modi
On Mon, Dec 18, 2017 at 7:57 AM Ruy Exel wrote:
> Dear Kaushal,
>
> It took me a while to digest everything in your message, but I have
> finally managed to do my home-work and everything is now working
> perfectly! Thanks very much!
>
Great! You are welcome.
--
Kaushal Modi
te update' when the remote is the
> http version, succeeds as well.
I am seeing the same. The git: protocol fetch fails, but the http: protocol
fetch works.
Bastien, can you please look at this?
--
Kaushal Modi
; Handle special strings, if required.
(when (plist-get info :with-special-strings)
(setq text (org-html-convert-special-strings text)))
=
After applying this patch, the same portion exported doesn't have
double-escaping before # and ![.
If this looks good, I can commit this to maint.
--
Kaushal Modi
teral ` or part of `code'.
So the question: Is this the best way.. or is there a canonical way to
export an element without any markup char?
Full actual code[1].
[1]:
https://github.com/kaushalmodi/ox-hugo/blob/dffb7e970f33959a0b97fb8df267a54d01a98a2a/ox-hugo.el#L1769-L1802
--
Kaushal Modi
hout even the minimal adornment that ox-ascii has... and
ox-ascii can be a derived backend from this one.
--
Kaushal Modi
On Wed, Dec 20, 2017 at 5:07 PM Nicolas Goaziou
wrote:
> > If this looks good, I can commit this to maint.
>
> It looks good. Thank you.
>
Thanks. It's now committed to maint and merged to master.
--
Kaushal Modi
nonical approach) What would be the recommended
approach for an exporter backend to add new macros or override existing
macros (like "n" macro to wrap the string with HTML class as an example)?
Should it update org-macro-templates in org-export-before-processing-hook?
or something similar?
--
Kaushal Modi
ain text option in an email client).. so at whim,
entities will be translated to the correct unicode chars, footnotes
behavior could be the same as ox-ascii, and latex-snippets can stay in the
raw ascii form.
If there is an interest to move this forward, I can come up with a "raw"
backend
x27; with stripped emphasis markers.
>
Exactly. That's why I suggested extending ox-ascii from this "raw" backend.
At this point, I'm not convinced we need this in Org proper.
>
That's understood. No problem. The snippet you suggested above serves the
purpose very well for now.
Thanks!
--
Kaushal Modi
a while to load. Do you know if there's a way to set it
up so that it shows a single page per node as orgmode.org does? Even if
not, this is wonderful :)
> --
Kaushal Modi
On Thu, Jan 4, 2018 at 12:59 AM Shiyao MA wrote:
> Hi,
>
> is there a plan to move org elpa from http to https?
>
It's already https: https://orgmode.org/elpa/
I believe the site referencing installation via melpa needs to be updated:
https://orgmode.org/elpa.html.
--
Kaushal Modi
w replaced
with https://orgmode.org?
--
Kaushal Modi
replaced with one of the two below:
git clone g...@code.orgmode.org:bzg/org-mode.git
git clone https://code.orgmode.org/bzg/org-mode.git
in the texi/Org manuals in maint/master.
--
Kaushal Modi
a collaborator on Org/Worg
BTW @Nicolas, Bastien: Do these instructions need to go somewhere in the
Org manual too, or Worg? (and as I was framing this question, found that
the Worg also needs to be updated.. it still refers to the old clone URL:
https://orgmode.org/worg/dev/index.html
--
Kaushal Modi
dated.. it still refers to the old clone URL:
> > https://orgmode.org/worg/dev/index.html
>
> Worg needs some love, indeed. Worgers, where art thou? :)
>
I'll fix Worg tonight if no one else has done that by then :)
--
Kaushal Modi
On Thu, Jan 4, 2018 at 1:52 PM Kaushal Modi wrote:
>
> I'll fix Worg tonight if no one else has done that by then :)
>
Phew! Done in [1], [2] and [3].
Now the only things pending fixing are:
1. Commit search links like these (1700+) in worg/doc.org
ag --nogroup --line-number --
on Worg master was about 25 minutes back, but the changes
are not yet live on the site.
On Fri, Jan 5, 2018 at 12:31 PM Kaushal Modi wrote:
> On Thu, Jan 4, 2018 at 1:52 PM Kaushal Modi
> wrote:
>
>>
>> I'll fix Worg tonight if no one else has done that by then :)
&g
On Fri, Jan 5, 2018 at 8:55 PM Bastien wrote:
> Hi Kaushal,
>
> I republished Worg manually and things went fine. But I had to kill
> a stuck process before running this new one. I'll try to understand
> what happened when I have more time at end.
>
Thanks! I just
On Fri, Jan 5, 2018 at 9:05 PM Kaushal Modi wrote:
>
> Thanks! I just pushed one more commit (
> https://code.orgmode.org/bzg/worg/commit/4feac9160363279653a3d19cf68619e6a9c02fee
> ).. let's see if that freezes up the build again.
>
My commits seem to have frozen Worg build
the Worg
site. May be Bastien, Nicolas or someone else can chime in to help with
this and the above FIXME.
[1]: https://gist.github.com/1932834fa33f72ff44eea476f15cad08 and then
running "emacs --batch -l ~/e/misc/worg/worg-setup.el -f org-publish-all"
(Emacs 26.0.90 and latest Org master).
--
Kaushal Modi
/orgguide/orgguide.es.texi
https://orgmode.org/worg/sitemap.html
I don't know how to fix those (especially the code/ and sources/ subdirs).
[1]:
https://validator.w3.org/checklink?uri=https%3A%2F%2Forgmode.org%2Fworg&hide_type=all&depth=&check=Check
--
Kaushal Modi
ad link tester, and
you'll see the full list. I used this: http://www.brokenlinkcheck.com/, and
it seems pretty good even with the 3000 page scanning limit in the free
version. The W3C broken link detector isn't very good. Does someone have a
better way to find *all* broken links?
--
Kaushal Modi
emacs --batch -l ~/e/misc/worg/worg-setup.el -f org-publish-all
(Emacs 26.0.90, Org master)
@Bastien: Would it make sense to commit the worg-setup.el to the
worg/orgweb repo too, and then use a Makefile to pass the values to the
defconst variables?
Hope that helps! :)
--
Kaushal Modi
rchive/html/emacs-devel/2016-01/msg00691.html
+1 to transition to htmlfontify. Copying Rasmus for comments on efforts
needed to update ox-html to use htmlfontify..
--
Kaushal Modi
On Mon, Jan 8, 2018 at 10:50 AM Kaushal Modi wrote:
> Now I have this (
> https://gist.github.com/kaushalmodi/1932834fa33f72ff44eea476f15cad08 )
> where I have moved the local paths to defconsts. So once you set all the
> defconsts in there as needed, you should be good to go.
Jus
ce, installing the full latest version of TexLive is the easiest
way.
--
Kaushal Modi
tings
> so that one can just use "emacs -q".
>
+1
--
Kaushal Modi
th a star,
>
Nice.
- tags, node properties, are not shown with the surrounding columns,
> - when to use =...= or ~...~ markup:
> - files or extensions use =...=,
> - anything that is meant to be written in the Org buffer uses =...=,
> - any meaningful token in a programming language uses ~...~.
>
Sounds good.
--
Kaushal Modi
ig.. I
never understood why the 2-space indentation was there by default))..
org-indent-mode simply takes care of everything.
--
Kaushal Modi
t to use it
as a noweb ref in the manual. Making Org snippets, src blocks, always, just
feels like the right thing.
[1]:
https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master/test/site/content-org/all-posts.org
--
Kaushal Modi
fs, you would then need to make those Org
snippets src blocks instead of example blocks. I was just trying to make
that point.
Overall, I am glad to see consistency edits being made in the manual.. will
make it easier to contribute to it by just following by example.
Thanks.
--
Kaushal Modi
t it doesn't
populate the user-set global value).
2. Use `org-get-tags-at' with point on "Task 1" heading in your example.
`org-get-tags' returns a list of tags *only* at the current heading.
`org-get-tags-at' returns inherited tags too.
Hope this helps.
> --
Kaushal Modi
about other Org
versions getting auto-installed.
> --
Kaushal Modi
usual) this seemed obvious to
> me when using export functionality ;-)
>
It's not clear what you mean by "feature is not already part of Org-mode".
Org mode provides `org-get-tags-at', which any Org exporter can use. How
that function is used is, I think, very subjective. The way I use it in
ox-hugo is probably not used in other exporters.
--
Kaushal Modi
On Mon, Jan 22, 2018 at 2:52 PM Nicolas Goaziou
wrote:
> Kaushal Modi writes:
>
> There is another issue with "begin_src org" blocks. If your example
> contains a link, you only see the description part, not the whole
> syntax. Thus
>
> #+begin_src
org
use-package form. The load-path would be set exactly as I want before org
gets (auto)loaded.
[1]:
https://github.com/kaushalmodi/.emacs.d/blob/master/setup-files/setup-org.el
--
Kaushal Modi
ks. That makes sense. It's almost as if fontification should be
separated from overlay application (or whichever technique is used to make
the links invisible).
But with how the things are, looks like example blocks is the way to go to
prevent the link hiding in Org snippets.
--
Kaushal Modi
that?
Thanks.
--
Kaushal Modi
On Tue, Jan 30, 2018, 12:07 AM Allen Li wrote:
> I was not aware Org had its own mark ring, and I see no use for it
> personally when Emacs's mark ring exists.
>
Same here :)
So also I wouldn't miss out if that feature is removed, C-u SPC works
great.
>
--
Kaushal Modi
s/emacs-26/share/emacs/26.0.91/lisp/org/)
- Org master ::Org mode version 9.1.6 (release_9.1.6-395-g8ecc4c @
/home/kmodi/usr_local/apps/6/emacs/emacs-26/share/emacs/site-lisp/org/)
Thanks.
--
Kaushal Modi
to me :)
[image: image.png]
[1]:
https://github.com/kaushalmodi/.emacs.d/blob/d8877836b8566a8831c735a8ec2000133230ad41/setup-files/setup-unicode.el#L40
[2]:
https://github.com/kaushalmodi/.emacs.d/blob/d8877836b8566a8831c735a8ec2000133230ad41/setup-files/setup-visual.el#L617-L635
--
Kaushal Modi
On Wed, Jan 31, 2018 at 12:51 PM Kaushal Modi
wrote:
>
> All glyphs are shown in `modi/highlight-confusing' face."
>
Forgot to paste the face definition (I just set it to colors to suit my
default theme):
(defface modi/highlight-confusing
'((t (:foreground &qu
lso the tag face won't
be applied.
@Lawrence:
You can have tag inheritance this way:
* Emacs :emacs:
Emacs stuff
** Lisp :lisp:
Emacs lisp stuff here
*** Org :org_mode:
Emacs + Lisp + Org mode stuff
** Org :org_mode:
Emacs + Org mode stuff (but not lisp)
--
Kaushal Modi
", "#+FOO:", "=#+FOO=", "~#+FOO~",
;; ",#+FOO bar", "#+FOO_bar", "#+FOO".
(while (re-search-forward
"\\(?1:#\\+[A-Z_]+\\(?:_[[:alpha:]]+\\)*\\)\\(?:[ :=~]\\|$\\)" nil :noerror)
(setq count (1+ count))
(replace-match (downcase (match-string-no-properties 1)) :fixedcase
nil nil 1))
(message "Lower-cased %d matches" count
--
Kaushal Modi
Hello,
I am bumping this thread, as it very likely could have been missed.
If fixing that was already on the radar, sorry for the bump.
On Tue, Jan 30, 2018, 11:50 AM Kaushal Modi wrote:
> Hello,
>
> I have noticed that auto-filling working on long (going past fill-column)
&g
nnot reproduce your ECM.
>
Did you copy and paste the whole ECM including the Local Variables? ..
because I can reproduce that in emacs -Q (emacs-26 branch).
It's something about auto-fill-mode being on, that's different from M-q.
>
--
Kaushal Modi
On Sat, Feb 3, 2018, 9:40 AM Nicolas Goaziou wrote:
> Kaushal Modi writes:
>
> I think I spotted your mistake. Considering (a part of) your ECM:
>
>* Heading
>
>:PROPERTIES:
>
>
> There's a line between the heading and the properties drawer, so i
.6 (release_9.1.6-50-g96b33f @
/home/kmodi/usr_local/apps/6/emacs/emacs-26/share/emacs/26.0.91/lisp/org/)
--
Kaushal Modi
property-auto-fill.org
Description: Binary data
t again, RET would be better.
I'll try hacking something around this, tweaking org-return should work
using a simple advice. Would a patch be welcome for this?
--
Kaushal Modi
mp;rest arg) cl-declarations-or-string def-body))
(I'll open an emacs bug for that.)
So what needs to be fixed in ox.el (or elsewhere?) so that gopher: protocol
links are allowed?
Thanks.
--
Kaushal Modi
github.com/kaushalmodi/ox-hugo/issues/132#issuecomment-362854410
--
Kaushal Modi
t ((link (concat "gopher:" link)))
(cond
((eq format 'html)
(format "%s" link desc))
((eq format 'latex)
(format "\\href{%s}{%s}" link desc))
(t ;`ascii', `md', `hugo', etc.
(format "[%s](%s)" desc link)
(org-link-set-parameters "gopher" :export #'org-link-gopher-export-link)
--
Kaushal Modi
auto-fill-function)))
+ (if indent (newline-and-indent) (newline)))
(defun org-return-indent ()
"Goto next table row or insert a newline and indent.
--
Kaushal Modi
n))
Thank you.
Full code:
https://raw.githubusercontent.com/kaushalmodi/ox-hugo/master/ox-hugo.el
--
Kaushal Modi
ce-prefix-export-file-name-with-date)
;; (advice-remove 'org-export-output-file-name
#'modi/org-advice-prefix-export-file-name-with-date)
After evaluating the above, current date will be prefixed to the exported
file name, whether you export the whole file or just a subtree.
--
Kaushal Modi
string "%Y-%m-%d") " " $1))
>
That works for EXPORT_TITLE!
So I tried for EXPORT_FILE_NAME, but it doesn't work there, because
org-export-output-file-name should be getting called internally *before*
the macro expansion is done.
--
Kaushal Modi
tion,
and retrieve it in another.
That said, I haven't tried plist put/get across functions.. I'll try that
out.
--
Kaushal Modi
ssage, and
commit.
Btw this is safe enough to commit to maint?
Thanks.
>
--
Kaushal Modi
quot;#x20" "? ")
(10 "#xa" "?
")
FAILED 741/764 test-org/return
Here's the patch with test included:
>From 416be7c4b7adddffc0c41bba2a070c8849e16d82 Mon Sep 17 00:00:00 2001
From: Kaushal Modi
Date: Sun, 11 Feb 2018 14:37:10 -0
On Sun, Feb 11, 2018, 3:13 PM Kaushal Modi wrote:
Sorry, ignore that, figured out the mistake in my test.
>
--
Kaushal Modi
85b4f3c13a553f007b
--
Kaushal Modi
On Sat, Feb 10, 2018 at 10:48 AM Kaushal Modi
wrote:
> On Thu, Feb 8, 2018, 11:45 PM Yasushi SHOJI
> wrote:
>
>>
>> Some exporter does `plist-put`.
>> Is that what you are looking for?
>
>
> I haven't tried plist put/get across functions.. I
a grey area.. some folks might actually like to retain
that todo meta data.. or could be that that meta data doesn't yet have an
associated org-element (internal parser).
> --
Kaushal Modi
/org-mode/commit/551d2f1fe7ad797806ed51c63d45553ef1d6a777
Emacs version: 26.0.91
I believe this is a bug. Can this please be fixed?
--
Kaushal Modi
gnu.org/r/emacs-orgmode/2018-02/msg00231.html
> Anyway, this is fixed. Thank you.
>
Thanks! Will try it out.
--
Kaushal Modi
On Wed, Feb 14, 2018 at 12:50 PM Nicolas Goaziou
wrote:
>
> Anyway, this is fixed. Thank you.
>
I confirm the fix. Thanks!
--
Kaushal Modi
ially for me either but
> switching to the HTML part shows them ("b", gnus-article-view-part). I
> am saying this for Kaushal's benefit: your email was okay as such but
> many of us will not see the images by default.
>
That's good to know. So no inline images from now on then :)
> --
Kaushal Modi
I first manully insert
newlines after a list to "break" the list (by first moving the point as
shown below).
=
* heading
- list item
| (now do M-return)
content
=
But still, having C-u C-return binding would be nicer..
--
Kaushal Modi
mple: move
> "manual.org" to doc/, overwrite "org.texi", and, when we feel confident
> enough, if it ever happens, remove "org.texi" altogether from the
> repository, generating it only before bundling a new Org release or
> merging it with Emacs.
>
Exactly. Emacs will anyways ship with org.texi. So moving the manual source
to Org in the Org repo shouldn't concern the Emacs repo.
--
Kaushal Modi
patch)
Let me know if this error can be reproduced by the above steps
--
Kaushal Modi
On Mon, Mar 19, 2018 at 4:00 PM Kaushal Modi wrote:
> Hello,
>
> I believe a regression was introduced in
> https://code.orgmode.org/bzg/org-mode/commit/d81a1d088c74e605c99e90a2835c55df5144f43e
>
Actually the commit before that would have been the breaking commit as I
was abl
4457840d52c52d6dff5
--
Kaushal Modi
>
Thanks! It makes sense now.
> So, the fix implements the following changes:
> - only modify links withing the included part of the document,
> - do not modify anything if includer and includee both live in the same
> directory,
> - switch to Org mode before proceeding with changes.
>
--
Kaushal Modi
or (3) from git.
Sorry if you have already read it and this sounds like spam:
https://scripter.co/building-org-development-version/.
> --
Kaushal Modi
601 - 700 of 857 matches
Mail list logo