Re: [O] Editing in two columns
On Sat, Feb 24, 2018, at 7:18 PM, Peter Neilson wrote: > On Sat, 24 Feb 2018 19:01:25 -0500, Peter Davis >wrote:> > > Is there a way to edit with two columns displayed so I’m only > > editing> > and exporting the right hand column? > > I’m writing a parody of a poem, and I’d like to have the original > > in the> > left column for reference, to make sure the rhyme scheme, > > meters, etc.> > match, but then I just want to export the right column to > > html. > > Thanks, > > -pd > > > > Have you tried ^X3 ? That's split-window-right . It'll go to > one column> while it queries you during export, but exports only your > current window.> I haven’t tried it, but it sounds perfect. Thanks! -pd -- Peter Davis www.techcurmudgeon.com
Re: [O] Editing in two columns
On Sat, 24 Feb 2018 19:01:25 -0500, Peter Daviswrote: Is there a way to edit with two columns displayed so I’m only editing and exporting the right hand column? I’m writing a parody of a poem, and I’d like to have the original in the left column for reference, to make sure the rhyme scheme, meters, etc. match, but then I just want to export the right column to html. Thanks, -pd -- Peter Davis www.techcurmudgeon.com Have you tried ^X3 ? That's split-window-right . It'll go to one column while it queries you during export, but exports only your current window.
Re: [O] [RFC] Could we get rid of Org specific "mark ring"
after fixing a typo i get "Warning: ring-ref called with 1 argument, but requires 2" i am limited in computer use.
[O] Editing in two columns
Is there a way to edit with two columns displayed so I’m only editing and exporting the right hand column? I’m writing a parody of a poem, and I’d like to have the original in the left column for reference, to make sure the rhyme scheme, meters, etc. match, but then I just want to export the right column to html. Thanks, -pd -- Peter Davis www.techcurmudgeon.com
Re: [O] [RFC] Could we get rid of Org specific "mark ring"
On 2/24/18, Nicolas Goaziouwrote: > I do not discuss your needs. not sure what you mean by this. i was replying to your statements about your usage and the global mark ring. >It isn't crazy at all, and works surprising well in practice. to make sure we are on the same page: we seem to be discussing the removal of a feature. this feature is not redundant. key example: in org maint, i can click on a link and, without any cognitive overhead, and with certainty, run a command to get back to the link i clicked on. to me this seems like basic hypertext ability, such as you might find in info or the back button on firefox. i think your change will make this "back button" behavior as stated in the previous paragraph impossible. please correct me if that is not true. [for the bug that seems to have prompted your proposal, we could be discussing pushing to the global and local mark rings. but this does not seem to be what we are discussing.] you have suggested filing a bug report against emacs. but the emacs behavior is ancient. emacs-devel is conservative. emacs changing does not seem much more likely than every nation on earth switching to english as its official language tomorrow. a wrapper to the global mark ring that makes you go to the exact location, plus a backward and forward ability, would be good. however, i am not aware of such a thing. thank you for engaging.
Re: [O] [RFC] Could we get rid of Org specific "mark ring"
Hello, Samuel Waleswrites: > in my usage, the current distinction between org-mark-ring and > mark-ring does not disturb me at all. i agree that it would be good > to be able to use global-mark-ring as a substitute for both > global-mark-ring and org-mark-ring, but ONLY if it takes me to the > exact location just like org-mark-ring does. > > i use mark-ring extensively. this is when i mark manually, or in > cases like isearch or bob. it is intuitive and i never have to think > about the distinction from org-mark-ring. i agree that some users > would expect the mark to be set also. which i think is a good idea, > for both global and local mark rings. but ONLY if the global one goes > to the exact spot. I do not discuss your needs. My concern is about common use of the mark ring. A dedicated mark ring for Org buffers sounds overkill. Note that, in order to get back old behaviour once `org-mark-ring' is an alias for `push-mark', you could do the following (untested, but you get the idea): (setq my-org-places (make-ring 16)) (setq my--org-places-count 0) (defun my-push-org-location ( location _) (when (eq major-mode 'org-mode) (ring-insert my-org-places (copy-marker (or location (point)) (advice-add 'push-mark :before #'my-push-org-location) (defun my-jump-org-location () (interactive) (when (ring-empty-p my-org-places) (error "No Org location stored")) (if (eq last-command 'my-jump-org-location) (cl-incf my--org-places-count) (setq my--org-places-count 0)) (let* ((m (ring-ref my-org-places)) (buffer (marker-buffer m)) (positon (marker-position m))) (set-buffer buffer) (or (and (>= position (point-min)) (<= position (point-max))) (if widen-automatically (widen) (error "Org location is outside accessible part of buffer"))) (goto-char position) (switch-to-buffer buffer))) (global-set-key (kbd "C-c &") #'my-jump-org-location) > i do not use global-mark-ring. this is because [1] nonergo binding > [fixable] [2] i haven't made prev and next for it [fixable] [3] it > makes ZERO sense to me why it behaves so strangely. > > i expect global-mark-ring to take me to the exact spot. period. when > it doesn't, i get so confused that i just stop using it. i don't > understand why anybody finds it intuitive. do a lot of people use it? > unlike the local mark ring, i have never seen actual use of it > mentioned in the community. perhaps its users have tiny files. You could file an Emacs bug report about it. Regards, -- Nicolas Goaziou
Re: [O] "C-c C-x m" binding for org-meta-return dropped in 6965098a5
Hello, Kyle Meyerwrites: > I noticed that the "C-c C-x m" binding for org-meta-return was dropped > in 6965098a5 (Use a single keybinding representation, 2018-01-15). Was > this an intentional change? No, that wasn't. Fixed. Thank you. Regards, -- Nicolas Goaziou0x80A93738
[O] "C-c C-x m" binding for org-meta-return dropped in 6965098a5
Hello, I noticed that the "C-c C-x m" binding for org-meta-return was dropped in 6965098a5 (Use a single keybinding representation, 2018-01-15). Was this an intentional change? I didn't see it mentioned in the commit message, but maybe the reason for dropping the binding is that org-meta-return already has two other bindings in the org-use-extra-keys set alone. If it was intentional, I'm of course fine with setting the binding in my config, but perhaps the change should be mentioned in ORG-NEWS? -- Kyle
Re: [O] [PATCH] bug fix in ob-groovy.el
Hello, Nick Dokoswrites: > The problem was reported in > >https://stackoverflow.com/questions/48893994/groovy-in-org-mode-babel > > I reproduced the problem locally. The basic error message is > > Caught: java.lang.ClassFormatError: Illegal class name > "groovy-31624d60$isGolden" > > The problem is the dash. > > The patch replaces dashes with underscores when constructing temp file > names. Applied. Thank you. Regards, -- Nicolas Goaziou
Re: [O] Why my config about org-log-reschedule didn't work?
Hello, "iany...@163.com"writes: > I think if I set the variable > (setq org-log-reschedule (quote time)) > > When I change the schedule time of a task, a drawer will be created. > But nothing happened as I did so. Even if I setuped a new emacs, with > the only conifg line above. It still did not work. > What did I missed? Thank you in advance. hm, works for me with current Org mode. I guess you did not override the log feature on a per file basis? Regards hmw