Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-09 Thread Eric S Fraga
On Tuesday, 10 Apr 2018 at 15:51, Tim Cross wrote:
> WRT Emacs 27 - I gave up bleeding edge Emacs a few years back. Prefer the
> stability and there wasn't much in new versions that justified the regular
> updates and rebuilds etc.

I track via emacs-snapshot (Debian package) which means I don't have to
build.  I particularly wanted display-line-number-mode in the latest
version as it works very well with evil, especially relative numbering
for quick movement!

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-347-gd73a5e


signature.asc
Description: PGP signature


Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-09 Thread Tim Cross
for me, moving to use-package was fairly painless - my init file was only
20+ years worth of accumulated tweaks and configuration!  Was well worth
the effort though as it also fixed some annoying 'quirks' I had sort of got
use to.

WRT Emacs 27 - I gave up bleeding edge Emacs a few years back. Prefer the
stability and there wasn't much in new versions that justified the regular
updates and rebuilds etc.

On 10 April 2018 at 15:20, Eric S Fraga  wrote:

> On Tuesday, 10 Apr 2018 at 07:51, Tim Cross wrote:
> > I have also found the 'use-package' package to be extremely useful in
> > making my setup clearer, further controlling package setup/load and
> > deferring package loading to get faster startup times.
>
> Yes, I've heard good thing about use-package.  My problem is that my
> .emacs etc. is a 35 year old mess.  I need to start over but of course
> there is incredible inertia in doing so.
>
> > I wouldn't worry about emacs 27 too much. We are still waiting on emacs
> > 26, so emacs 27 is probably 5+ years away yet!
>
> Well, you'll see from my signature that I use v27.  I track emacs
> development for the excitement!  The problem is that I have one system
> where I am still using v25.
>
> Anyway, I think this has gone completely off-topic for the org list!
>
> thanks,
> eric
> --
> Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-347-gd73a5e
>



-- 
regards,

Tim

--
Tim Cross


Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-09 Thread Eric S Fraga
On Tuesday, 10 Apr 2018 at 07:51, Tim Cross wrote:
> I have also found the 'use-package' package to be extremely useful in
> making my setup clearer, further controlling package setup/load and
> deferring package loading to get faster startup times.

Yes, I've heard good thing about use-package.  My problem is that my
.emacs etc. is a 35 year old mess.  I need to start over but of course
there is incredible inertia in doing so.

> I wouldn't worry about emacs 27 too much. We are still waiting on emacs
> 26, so emacs 27 is probably 5+ years away yet! 

Well, you'll see from my signature that I use v27.  I track emacs
development for the excitement!  The problem is that I have one system
where I am still using v25.

Anyway, I think this has gone completely off-topic for the org list!

thanks,
eric
-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-347-gd73a5e


signature.asc
Description: PGP signature


Re: [O] [Radio tables???]

2018-04-09 Thread Nick Dokos
Rasmus  writes:

> Hi Uwe,
>
> Uwe Brauer  writes:
>
>> Templates are another example of this philosophy. I still can't use the
>> actual git master version of orgmode since the old templates have been
>> removed and the new syntax is not really explained.
>
> Please let me know what you are missing in terms of documentation.
>
> For all of the annoyance of losing the old template system, the data
> structure of the new system is surely simpler.
>
> Also let me know about any remaining features that you are missing.
>

[apologies if this has been answered in the extensive earlier threads]

IIUC, multi-letter abbrevs are not allowed. Is that because of tempo?
If it can be done, could we at least have two-letter abbrevs? I did
not use anything longer, but two-letter abbrevs were mnemonically
useful.

Thanks!
-- 
Nick




[O] [patch] fix error when using org-notify with no agenda files

2018-04-09 Thread Jay Kamat
Hi,

Previously, when `org-agenda-files' was nil, and `org-notify-start' had
been called (org-notify running), I got the following error every time
`org-notify-process' would run.

Wrong type argument: stringp, nil

This patch fixes this so `org-notify' won't throw errors if no agenda
files are present.

Please let me know if you spot any issues. I thought about adding a
one-time message warning the user, would this be a good idea (or should
we just stay out of their way)? I would be happy to implement it if that
would be preferable.

Thanks,
-Jay

From d0dc9035b2d7c77dc65102ab27ecacf3664599fa Mon Sep 17 00:00:00 2001
From: Jay Kamat 
Date: Mon, 9 Apr 2018 21:47:58 -0400
Subject: [PATCH] org-notify.el: Fix an error in `org-notify-process' when
 unconfigured

* contrib/lisp/org-notify.el (org-notify-todo-list): Return nil if
  `org-agenda-files' is nil
---
 contrib/lisp/org-notify.el | 19 ++-
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/contrib/lisp/org-notify.el b/contrib/lisp/org-notify.el
index 8e800eec7..56cf85d9d 100644
--- a/contrib/lisp/org-notify.el
+++ b/contrib/lisp/org-notify.el
@@ -137,15 +137,16 @@ simple timestamp string."
   "Create the todo-list for one org-agenda file."
   (let* ((files (org-agenda-files 'unrestricted))
  (max (1- (length files
-(setq org-notify-parse-file
-  (if (or (not org-notify-parse-file) (>= org-notify-parse-file max))
-  0
-(1+ org-notify-parse-file)))
-(save-excursion
-  (with-current-buffer (find-file-noselect
-(nth org-notify-parse-file files))
-(org-element-map (org-element-parse-buffer 'headline)
- 'headline 'org-notify-make-todo)
+(when files
+  (setq org-notify-parse-file
+	(if (or (not org-notify-parse-file) (>= org-notify-parse-file max))
+		0
+	  (1+ org-notify-parse-file)))
+  (save-excursion
+	(with-current-buffer (find-file-noselect
+			  (nth org-notify-parse-file files))
+	  (org-element-map (org-element-parse-buffer 'headline)
+	  'headline 'org-notify-make-todo))
 
 (defun org-notify-maybe-too-late (diff period heading)
   "Print warning message, when notified significantly later than defined by
-- 
2.14.2



signature.asc
Description: PGP signature


Re: [O] Which org mode document should I modify for new header argument?

2018-04-09 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256


I try to find information in Org-mode web page
https://orgmode.org/worg/org-contribute.html#patches

But can't find which document should I modify. Recently I found both
`org.texi` and `org-manual.org` are modified. Really don't know which
one should I edit.

stardiviner  writes:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> I'm write a new feature for Org-mode, need to modify the document, which file 
> should I modify?
> doc/org-manual.org or doc/org.texi?
> If it is doc/org-manual.org will be great. It is really hard for me to read 
> TeX code.
> - --
> [ stardiviner ] don't need to convince with trends.
>Blog: https://stardiviner.github.io/
>IRC(freenode): stardiviner
>GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
>
> -BEGIN PGP SIGNATURE-
>
> iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAlrJa8YACgkQG13xyVro
> msMDQAgAxF+JmQ+hKb+w6AC6eFBZjFLWC5Fqunrxk/tReCCIKBNBXV7Wqcsx69t7
> LnBdPvgYVPQEYM+tNycsUPF9kPUhcdyklaoh3IIwQcDCr+b6Cbs8nhASQG/eibQa
> pdTUlkdt8yCG9VSZpOrNopt7LKR5mKTMsNFVdekSZvH50wolQYNn/Zpgi4vNThuB
> 0STqOT5W+Qjp2n04vAbIFm6Xd72UZab4w53SW7Q+lIoJw2FXytVCLVrwBOd11zGZ
> hG0fV2tMW5baSr7za7+2zBX/Z5S/65qSAMCaKP9d6M4Zc2shCz9oB2Z1VhjxPOwv
> C2296roDQaUgA7v8Cr2J4H3hzE7tPg==
> =6hmn
> -END PGP SIGNATURE-


- --
[ stardiviner ] don't need to convince with trends.
   Blog: https://stardiviner.github.io/
   IRC(freenode): stardiviner
   GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAlrMCu4ACgkQG13xyVro
msNvUAf/aeODxbZUshxZAX+T9yavqj65E1+SxxyydVABnjFEAcJvtbui9qLS9B6a
srp+mymWLyT0kxVKwRG6DNdZ+dV0l9jJ2GFQWTnQjfZGeqYEkTH/M8ViJFVW1xqw
Uv5C+HTkR2XUhYGZNlli3Z9x4NumdF5vYv+knCoP6h4TQ2WM1dt9Eyp35+xg+Pur
Br9zxVvlHcXXLc9bRkFC5FIv5FefP7PDelzyY4CNNXwkWwBl6718ugDDjldROPCP
fp4KB9r0Z3692qQtPK7lhtAKxLYozbPyEJ6h98BSbKmzi45ERb2Pmpn2msCVwlfm
7uZoSOKk6F14AiC71i07VkIQUd3Lug==
=Wg4e
-END PGP SIGNATURE-



[O] [SOLVED] Re: How to combine Lisp style and Calc style Table Formula together?

2018-04-09 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256


Thierry Banel  writes:

> Try this:
> $2=$1;%1.1e
>

Thanks, this is really great.

- -- 
[ stardiviner ] don't need to convince with trends.
   Blog: https://stardiviner.github.io/
   IRC(freenode): stardiviner
   GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
  
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAlrMBt8ACgkQG13xyVro
msPjqwf/Xh1KCCGHOUeNVcZuxHyVDOXNpdQJc5CQxfhlhU5Tvbw+fMKOFyONpjqW
kQxl5cIIpiK2ApQCGI1HKh64iZtFH2A1yJfuLfsUq5lGNn6StaaJ+2R3fEsU3xcZ
3ktrEAAA1MsgGmK7idrrBoP6zYFzXCCcZvC5zPJBTzGeu4i/BRt61Kss56n7aMda
PJM8S3Zu9imUzejmS8jnW9PNDu9JuGOnoOnzBDwdlxTSWD7CPDY1TzCxPmCmK2Uk
AzjaH6a3K294T25Jv8TFcY2pHXKtOgdwAQSMOzntrtj4Epk5eZ54dlOdj6hhiLDw
m00QC4ojvInuP2r0p6v7MtnsHw2AjQ==
=tP9F
-END PGP SIGNATURE-



Re: [O] visual-line-mode [was: Re: Clean up org-faces.el]

2018-04-09 Thread Vikas Rawal


> On 10-Apr-2018, at 5:12 AM, Samuel Wales  wrote:
> 
> On 4/9/18, Eric S Fraga  wrote:
>> What I do, when I want distraction free writing, is expand the fringes
>> to take up whatever amount of screen space I wish.  cf set-fringe-mode
> 
> interesting idea, but not useful here as i need org headers and tables
> to extend as far as possible, while paragraphs are filled to a narrow
> column.
> 

Neither visual-line-mode nor visual-fill-column-mode do this. Would be very 
nice if this were possible.

Vikas


Re: [O] visual-line-mode [was: Re: Clean up org-faces.el]

2018-04-09 Thread Samuel Wales
On 4/9/18, Eric S Fraga  wrote:
> What I do, when I want distraction free writing, is expand the fringes
> to take up whatever amount of screen space I wish.  cf set-fringe-mode

interesting idea, but not useful here as i need org headers and tables
to extend as far as possible, while paragraphs are filled to a narrow
column.



Re: [O] Bug: org-capture files wrong date in capture template [9.1.7 (9.1.7-elpaplus @ /Users/rmirelan/.emacs.d/elpa/org-plus-contrib-20180226/)]

2018-04-09 Thread Robert Irelan
Hi, that ended up being the problem. Specifically, the line at
https://code.orgmode.org/bzg/org-mode/src/442e7a2911e3e0229b1b6dd1fe0449653274ec31/lisp/org-capture.el#L1013
needs to be fixed to read instead

(append `(0 0 ,org-extend-today-until)

On Sat, Apr 7, 2018 at 2:07 PM Nicolas Goaziou 
wrote:

> Hello,
>
> Robert Irelan  writes:
>
> > I have an org-capture template of type file+olp+datetree and :time-prompt
> > t. Whenever I invoke it, it prompts me for a date. If I enter the current
> > date at the prompt, `%u` correctly formats the captured entry with
> today's
> > date. However, if I enter any other date, whether in the future or past,
> > `%u` is formatted with the date 1 day before the date I enter at the
> > prompt. So, for example, if I enter the date "2018-04-01" at the prompt,
> > `%u` is formatted as "[2018-03-31 Sat]". I can consistently reproduce
> this
> > with the following template, and also with version `Org mode version
> 9.1.9
> > (9.1.9-3-gb1a639-elpaplus @
> > /Users/rmirelan/.emacs.d/elpa/org-plus-contrib-20180402/)`.
> >
> > ```
> >   ("D" "Daily Log" entry (file+olp+datetree
> (lambda
> > nil (concat org-directory "/daily-log.org")))
> >"\n* %u Daily log\n:PROPERTIES:\n:Effort:
> > 0:05\n:END:\n*Summary*:%?\n\n*Problem*:\n\n*Insight*:\n\n*Tomorrow*:\n\n"
> > :time-prompt t :tree-type week :clock-in t :clock-resume t)
> > ```
>
> I cannot reproduce it with my configuration and the template above.
> However...
>
> >   org-extend-today-until 4
>
> ... this could be related to the variable above.
>
> Regards,
>
> --
> Nicolas Goaziou
>


Re: [O] git clone org mode

2018-04-09 Thread Rasmus
Vikas Rawal  writes:

> Fellow orgers,
>
> The following two pages on worg both recommend using "git clone
>g...@code.orgmode.org:bzg/org-mode.git” to clone the org repo.
>
> https://orgmode.org/worg/dev/index.html 
> 
> https://orgmode.org/worg/org-faq.html#keeping-current-with-Org-mode-development
> 
>
> When I tried this today, it asked me for a password. I was puzzled. I
> then created an account on https://code.orgmode.org/
> , added my ssh public key in the settings,
> and was able to clone the repo without being bothered with the
> password.
>
> If this is the expected method, may be the above two pages should mention 
> this.

I guess you are right.  The page should probably be a bit more detailed.

You need the gig@ if you want to push.  In that respect, gogs works more
or less like popular site like GitLab or Github, I believe.

An additional step to be able to push is to have your account "approved"
for pushing to the centralized repo.

Rasmus

-- 
This message is brought to you by the department of redundant departments




Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-09 Thread Tim Cross

Eric S Fraga  writes:

>> Yes.. there was a tome of discussion on this on emacs-devel. I have saved
>> this link for my reference:
>> http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=24acb31c04b4048b85311d794e600ecd7ce60d3b
>
> Ah, so in emacs 27, package initialisation happens whether you want it
> or not...  I guess I have to give in and move with the times!  Thanks
> for the link.  I do read emacs-devel but not all of it sticks.
>

I think there is some confusion regarding package initialisation as many
people have used same/similar terms to mean different things. As I
understand it, the packages are initialised to the 'autoload' point
i.e. all the actual code associated with the package is not 'loaded'
into the system, but various entry points are setup so that should you
call a core function, open up an associated file, run an associated
mode, then the package will be loaded. In many respects, not terribly
different from how most emacs 'built-in' packages used to work (many of
which have now been moved out into ELPA packages.

I have also found the 'use-package' package to be extremely useful in
making my setup clearer, further controlling package setup/load and
deferring package loading to get faster startup times.

I wouldn't worry about emacs 27 too much. We are still waiting on emacs
26, so emacs 27 is probably 5+ years away yet! 

-- 
Tim Cross



Re: [O] [Radio tables???]

2018-04-09 Thread Rasmus
Hi Uwe,

Uwe Brauer  writes:

> Templates are another example of this philosophy. I still can't use the
> actual git master version of orgmode since the old templates have been
> removed and the new syntax is not really explained.

Please let me know what you are missing in terms of documentation.

For all of the annoyance of losing the old template system, the data
structure of the new system is surely simpler.

Also let me know about any remaining features that you are missing.

Rasmus

-- 
Warning: Everything saved will be lost




Re: [O] Bug: Prevent fill-paragraph from breaking inside Org mode links [9.1.9 (release_9.1.9-580-g39837b @ /home/drunkard/emacs_lisp_imported/org-mode/org-mode/lisp/)]

2018-04-09 Thread Brent Goodrick
Hi Nicolas,

All of that sounds reasonable.  Thanks for the reply.

-Brent



On Sun, Apr 8, 2018, 9:43 AM Nicolas Goaziou  wrote:

> Hello,
>
> Brent Goodrick  writes:
>
> > First, it may be a separate "bug" that org-return cannot recognize the
> > multi-line Org link.
>
> Fixed. Thank you.
>
> > I don't know one way or the other for that, but instead I am arguing
> > that org mode's fill paragraph function should never break the line
> > right in the middle of the link.
>
> I disagree. Link descriptions can be arbitrarily long and Org should be
> able to fill them. We could improve the fontification, however (e.g.,
> not using link face on blanks at the beginning of a line).
>
> > Instead the whole link should be treated as a word. To illustrate the
> > fix, I have appended my own function to `fill-nobreak-predicate' to
> > prevent the breakages
>
> I think this is the way to go: prevent filling in your own config.
>
>
> Regards,
>
> --
> Nicolas Goaziou
>


Re: [O] How to combine Lisp style and Calc style Table Formula together?

2018-04-09 Thread Thierry Banel

Try this:
$2=$1;%1.1e

Le 09/04/2018 04:42, stardiviner a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I try to display table columns value like 1 with format "1.0e+4". So I use function 
(format "%1.1e" $1).

Here is my org table:

|n | Algorithm A (n) | Algorithm B (4n + 8) | Algorithm C (n^{2}) | 
Algorithm D (2n^{2}+1) | Algorithm E (2n^{2}+3n+1) | Algorithm F (n^{3}) |
|--+-+--+--+-++--|
|1 | 1.0e+00 |  1.2e+01 |1 |
   3 |  6 |1 |
|2 | 2.0e+00 |  1.6e+01 |4 |
   9 | 15 |8 |
|3 | 3.0e+00 |  2.0e+01 |9 |
  19 | 28 |   27 |
|   10 | 1.0e+01 |  4.8e+01 |  100 |
 201 |231 | 1000 |
|  100 | 1.0e+02 |  4.1e+02 |1 |
   20001 |  20301 |  100 |
| 1000 | 1.0e+03 |  4.0e+03 |  100 |
 201 |2003001 |   10 |
#+TBLFM: $2='(format "%1.1e" (string-to-number $1))::$3='(format "%1.1e" (+ (* 
(string-to-number $1) 4) 8))::$4=$1*$1::$5=2*($1*$1)+1::$6=2*($1*$1)+3*$1+1::$7=$1*$1*$1

I want to apply $2 formula to all of resting columns.
Org info only has Calc and Lisp style. But don't have how to combine them 
together.

I don't know what's the (format "%1.1e" ..) function corresponding operator 
under Calc.

- -- 
[ stardiviner ] don't need to convince with trends.

Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
   
-BEGIN PGP SIGNATURE-


iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAlrK0yEACgkQG13xyVro
msOs3Qf9GFFmhQ2N5ZERpGhfqLaqphD62oCz1cjP4MzYQ9GaXyFkPrZkysflU5GL
iXGNK7fjVJP4mi8yCY4P5IdIcKALaZphiRDoQ1H8ItuLomryc2ZXEIaMs1PV/yri
6iriNmgbcNC6CDKGyEo2magg/Ii1jZkS+w+Q2Lh+s0jxBNfW1TnwlZ7VAj6Sn7pg
fLj9osAJAIOMEZnKsR5ZInxZFHSliYRfeATAC/0m7tE1zAYwwY0OfCRAM31CP5b3
d5peQysyoUh12sZfavWkc+tDnD9cKj0f7lyGVKz9c2swgm81pVTrDfNQsD0flutE
j+qRwNwkV5qdgCmWEj/4ocnBPulPGQ==
=mzOu
-END PGP SIGNATURE-







Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-09 Thread Eric S Fraga
On Monday,  9 Apr 2018 at 14:19, Kaushal Modi wrote:
> On Mon, Apr 9, 2018 at 10:14 AM Eric S Fraga  wrote:
>
>>
>> Does emacs 27 initialise package before I do
>> explicitly?
>>
>
> Yes.. there was a tome of discussion on this on emacs-devel. I have saved
> this link for my reference:
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=24acb31c04b4048b85311d794e600ecd7ce60d3b

Ah, so in emacs 27, package initialisation happens whether you want it
or not...  I guess I have to give in and move with the times!  Thanks
for the link.  I do read emacs-devel but not all of it sticks.

> PS: Why does your email not remain in to: or cc: when I do Reply All? Is it
> OK if it is left out in the future? I have been adding your email back in
> manually.

Probably because I have told gnus that I am subscribed to the list so it
probably adds a Followup-To header.  I will read your replies whether
you add me or not as I'm subscribed to the list.  So no need to add it
back!

Thanks again,
eric

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-347-gd73a5e


signature.asc
Description: PGP signature


Re: [O] [Radio tables???]

2018-04-09 Thread Uwe Brauer
>>> "Nicolas" == Nicolas Goaziou  writes:

   > Hello,
   > Uwe Brauer  writes:

   >> This is really bad. That is a feature I daily use in latex
   >> buffers. Why did you do this? Is there any substitute for it. With
   >> a similar syntax?
   >> 
   >> If not tons of my latex files which contain radio tables will be
   >> useless.

   > I removed radio _lists_ not radio _tables_.

Thanks for the clarification and sorry for the noise.


Regards


   > Regards,




Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-09 Thread Kaushal Modi
On Mon, Apr 9, 2018 at 10:14 AM Eric S Fraga  wrote:

>
> Does emacs 27 initialise package before I do
> explicitly?
>

Yes.. there was a tome of discussion on this on emacs-devel. I have saved
this link for my reference:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=24acb31c04b4048b85311d794e600ecd7ce60d3b

See this new node in Emacs manual: (emacs) Early Init File

PS: Why does your email not remain in to: or cc: when I do Reply All? Is it
OK if it is left out in the future? I have been adding your email back in
manually.
-- 

Kaushal Modi


Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-09 Thread Eric S Fraga
On Monday,  9 Apr 2018 at 12:45, Kaushal Modi wrote:
> On Mon, Apr 9, 2018 at 8:25 AM Eric S Fraga  wrote:
>
>>
>> Yes, because of byte code incompatibilities.  Yes, I probably need to
>> set up major version specific directories.  Laziness on my part, I
>> guess.  Which is why I am happy for my comment to be ignored. ;-)
>>
>
> OK, but I'll still leave this here in case anyone wants to do that (major
> version specific elpa dir) :)

Thanks for this.  Helpful but I have one question: why the difference in
placement of the code?  I.e. why cannot I have the directory setting in
my .emacs in both cases?  Does emacs 27 initialise package before I do
explicitly?

Thanks again,
eric

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-347-gd73a5e


signature.asc
Description: PGP signature


[O] pdf links are not converted correctly upon latex export when in an outside directory

2018-04-09 Thread org-mode

Hello,

I've experienced an issue, where links to pdfs (but not .org ) files  
do not work in an exported pdf file due to incorrect link syntax, if  
the linked pdf is not in the same subtree as the org file that is  
exported. If one looks in the .tex file one can see that links to  
"outside" *.org files and *.pdf files look the same, but after the pdf  
conversion this is not true anymore. I'm therefore not sure where this  
problem comes from org-mode or the pdf conversion.
However the issue can be solved by forcing relative links also for  
outside directories by setting (setq org-link-file-path-type 'relative).

The following jpg. shows the relevant behavior.

http://haggiz.de/images/180406-pdf-latex-scimax/pdf-links-in-latex-export.jpg

I'm not sure whether relative links could be a problem at one point,  
but "adaptive" links to pdfs don't seem to work properly in file trees  
outside the org file directory.


any thoughts?
Hagen




Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-09 Thread Kaushal Modi
On Mon, Apr 9, 2018 at 8:25 AM Eric S Fraga  wrote:

>
> Yes, because of byte code incompatibilities.  Yes, I probably need to
> set up major version specific directories.  Laziness on my part, I
> guess.  Which is why I am happy for my comment to be ignored. ;-)
>

OK, but I'll still leave this here in case anyone wants to do that (major
version specific elpa dir) :)

For emacs 26.x and older:
- Put the below in your emacs config *before* (require 'package)

For emacs 27.x (and probably newer) i.e. current master:
- Put the below in your ~/.emacs.d/early-init.el

(setq package-user-dir (let ((elpa-dir-name (format "elpa_%s"
emacs-major-version))) ;default = "elpa"
   (file-name-as-directory (expand-file-name
elpa-dir-name user-emacs-directory
-- 

Kaushal Modi


Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-09 Thread Eric S Fraga
On Monday,  9 Apr 2018 at 12:18, Kaushal Modi wrote:
> On Mon, Apr 9, 2018 at 8:11 AM Eric S Fraga  wrote:
>
>>
>> I would much prefer contrib.  ELPA does not work well, in my experience,
>> if you have different systems running different versions of Emacs.
>>
>
> Out of curiosity, why is that? Because of few backward-incompatibilities in
> byte compiled files in newer Emacs versions? If so, it's useful to have
> major-version specific package-user-dir 's.

Yes, because of byte code incompatibilities.  Yes, I probably need to
set up major version specific directories.  Laziness on my part, I
guess.  Which is why I am happy for my comment to be ignored. ;-)

thanks,
eric

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-347-gd73a5e


signature.asc
Description: PGP signature


Re: [O] visual-line-mode [was: Re: Clean up org-faces.el]

2018-04-09 Thread Eric S Fraga
On Sunday,  8 Apr 2018 at 13:57, Samuel Wales wrote:
> On 4/8/18, Diego Zamboni  wrote:
>>> off topic here, but the problem with visual-line-mode for me is that
>>> at least in 24.4 it does not respect fill column.  this is a
>
>>> dealbreaker.  i stick with m-q.
>>
>> It still doesn’t (I’m using 25.3.2), but I have become used to adjusting the
>> width of my Emacs window to match what I want to do - make it full-width for
>> coding, and half- or two-thirds for prose. The lines then adjust to the
>> width of the window automatically.
>
> not possible for me for accessibility reasons.  emacs does understand
> pixels, so it should be possible.
>

What I do, when I want distraction free writing, is expand the fringes
to take up whatever amount of screen space I wish.  cf set-fringe-mode

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-347-gd73a5e


signature.asc
Description: PGP signature


Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-09 Thread Kaushal Modi
On Mon, Apr 9, 2018 at 8:11 AM Eric S Fraga  wrote:

>
> I would much prefer contrib.  ELPA does not work well, in my experience,
> if you have different systems running different versions of Emacs.
>

Out of curiosity, why is that? Because of few backward-incompatibilities in
byte compiled files in newer Emacs versions? If so, it's useful to have
major-version specific package-user-dir 's.
-- 

Kaushal Modi


Re: [O] [Radio tables???]

2018-04-09 Thread Nicolas Goaziou
Hello,

Uwe Brauer  writes:

> This is really bad. That is a feature I daily use in latex buffers. Why
> did you do this? Is there any substitute for it. With a similar syntax?
>
> If not tons of my latex files which contain radio tables will be
> useless.

I removed radio _lists_ not radio _tables_.

Regards,

-- 
Nicolas Goaziou



Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-09 Thread Eric S Fraga
On Sunday,  8 Apr 2018 at 22:18, Nicolas Goaziou wrote:

[...]

> As stated before, IMO, the only viable use for contrib/ is to be used as
> an incubator for inclusion in Org.
>
> Packages in contrib/ should be stored somewhere else, it could even be
> in an Org ELPA.

I would much prefer contrib.  ELPA does not work well, in my experience,
if you have different systems running different versions of Emacs.

Just my 2¢ worth.  Feel free to ignore ;-)

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-347-gd73a5e


signature.asc
Description: PGP signature


Re: [O] org-wikinodes.el and "invalid format operation %%\"

2018-04-09 Thread Michael Maurer
On 9 April 2018 at 12:52, Julius Dittmar  wrote:
> Am 09.04.2018 um 12:22 schrieb Michael Maurer:
>> Ok, figured it out. This only happened in files with
>>
>> #+TODO: 20% 30% 40% 50% 80% 70% 90% 95%
>
> Maybe a stupid question, but: Is the inversion of direction -- 70% after
> 80% -- intended? Could that be the stumbling point?

Ah, that was an oversight on my part. But no, in terms of the camelcase
error, the order of the sequence seems to be irrelevant.



Re: [O] org-wikinodes.el and "invalid format operation %%\"

2018-04-09 Thread Julius Dittmar
Am 09.04.2018 um 12:22 schrieb Michael Maurer:
> Ok, figured it out. This only happened in files with
> 
> #+TODO: 20% 30% 40% 50% 80% 70% 90% 95%

Maybe a stupid question, but: Is the inversion of direction -- 70% after
80% -- intended? Could that be the stumbling point?

> as part of its to-do directive. After removing the percentage to-do
> steps, camelcase worked and
> it stopped complaining about "invalid format operation %%\".
> 
> On 2 April 2018 at 12:21, Michael Maurer  wrote:
>> I've enabled org-wikinodes.el to get CamelCase wiki links. But
>> whenever I try to follow a link/camelcase word, I just get "invalid
>> format operation %%\". Although there is a headline by that name in
>> the current file.
>> I'm using org-mode 9.1.6 and Emacs 25.3.1 64-bit on Win7.




Re: [O] org-wikinodes.el and "invalid format operation %%\"

2018-04-09 Thread Michael Maurer
Ok, figured it out. This only happened in files with

#+TODO: 20% 30% 40% 50% 80% 70% 90% 95%

as part of its to-do directive. After removing the percentage to-do
steps, camelcase worked and
it stopped complaining about "invalid format operation %%\".

On 2 April 2018 at 12:21, Michael Maurer  wrote:
> I've enabled org-wikinodes.el to get CamelCase wiki links. But
> whenever I try to follow a link/camelcase word, I just get "invalid
> format operation %%\". Although there is a headline by that name in
> the current file.
> I'm using org-mode 9.1.6 and Emacs 25.3.1 64-bit on Win7.



[O] [Radio tables???] (was: [ANN] OrgStruct is dead. Long live Orgalist.)

2018-04-09 Thread Uwe Brauer
>>> "Nicolas" == Nicolas Goaziou  writes:
Hello

I just saw this mail.


   > Hello,
   > As discussed on this ML a few months ago, I eventually removed OrgStruct
   > minor mode from Org code base. 

   > I also removed Radio lists, i.e., sending and receiving Org lists in
   > non-Org buffers, since the two features were pretty much tied. I _did
   > not_ remove `org-list-to-html', `org-list-to-latex' functions, just the
   > sending and receiving mechanism.

This is really bad. That is a feature I daily use in latex buffers. Why
did you do this? Is there any substitute for it. With a similar syntax?

If not tons of my latex files which contain radio tables will be
useless.

I really appreciate the work of org mode and that new features are
added. But the philosophy  to remove code and syntax causes mayor
headaches and I don't see the benefit of it.

Templates are another example of this philosophy. I still can't use the
actual git master version of orgmode since the old templates have been
removed and the new syntax is not really explained.

Uwe Brauer