[O] why prepend "file://" to abs paths in html output?

2017-07-07 Thread Matt Price
in org-html-link local links of the form

"/some/path/to/file"

are rewritten as

"file:///some/path/to/file".

This makes it difficult to write root-relative URL's in the way that one
might expect to be able to (so that export produces links like



Is this really the most desirable behaviour? In html export, at least, I
would think most users would want to allow links of the kind I described.
But this seems like a conscious design decision; cf. these lines from
org-html-link:

;; If file path is absolute, prepend it with protocol
;; component - "file://".
(cond
 ((file-name-absolute-p raw-path)
  (setq raw-path (org-export-file-uri raw-path)))
 ((and home use-abs-url)
  (setq raw-path (concat (file-name-as-directory home) raw-path

I'm wondering whether a user oculd at least set a defcustom to control this
behaviour.

Thanks,
Matt


Re: [O] sideways table

2017-07-07 Thread Sharon Kimble
John Hendy  writes:

> On Fri, Jul 7, 2017 at 12:20 PM, Sharon Kimble
>  wrote:
>>
>> I'm trying to use 'sideways' with an org-mode table being exported to
>> latex. But its not working. This is my table header -
>>
>> --8<---cut here---start->8---
>> #+CAPTION: Table of Parochial Fees from 1 January 2017 - Funerals, Burials 
>> and Monuments (cite:0204).
>> #+ATTR_LATEX: :booktabs t :environment longtable :float sideways
>> --8<---cut here---end--->8---
>>
>> If I don't have ':environment longtable' then the pdf compiling fails saying 
>> that -
>>
>> --8<---cut here---start->8---
>> ! LaTeX Error: Environment sidewaystable undefined.
>>
>> See the LaTeX manual or LaTeX Companion for explanation.
>> Type  H   for immediate help.
>>  ...
>>
>> l.12122 \begin{sidewaystable}
>>  [htbp]
>>
>> --8<---cut here---end--->8---
>>
>> So how can I use 'sideways' with a table please? Its not clear exactly
>> what to do from the org-mode manual, and google doesn't provide any
>> solutions either.
>>
>
> I've run into this question before, but am not sure this is the same
> thread I resolved it:
> - https://lists.gnu.org/archive/html/emacs-orgmode/2014-03/msg00373.html
>
> Namely: #+attr_latex: :float sidewaystable
>
> Another option I use regularly:
> - https://www.mail-archive.com/emacs-orgmode@gnu.org/msg110703.html
>
> Namely: lscape pacakge longtable
>
>
Thanks for this John.

I've finally got it to work by using this -

--8<---cut here---start->8---
#+latex_header: \usepackage{lscape}


#+latex: \begin{landscape}
#+CAPTION: Table of Parochial Fees from 1 January 2017 - Funerals, Burials and 
Monuments (cite:0204).
#+ATTR_LATEX: :booktabs t
blah
#+latex: \end{landscape}
--8<---cut here---end--->8---

Not quite an org-mode success, but at least its working.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk  
Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7


signature.asc
Description: PGP signature


Re: [O] orgmode 9.x refile not working any longer with ido

2017-07-07 Thread Kyle Meyer
Hello,

Jerome Gay  writes:

> Since I upgraded orgmode to 9.x, refile is no longer working with ido.
> According to http://orgmode.org/Changes.html, all options related to ido
> and iswitchb have been removed. It also mentions "Instead Org uses regular
> functions, e.g., completion-read so as to let those libraries operate."
>
> However, being a recent vim-user-turned-emacs, I can't find how to setup
> ido (including ido-vertical) to work in orgmode 9.x the way it used to work
> in 8.x

I don't use ido, but I think you're looking for ido-ubiquitous:
https://github.com/DarwinAwardWinner/ido-ubiquitous

I've quickly tested with

(require 'ido-ubiquitous)
(ido-ubiquitous-mode 1)

and refiling seems to go through ido fine.

-- 
Kyle



[O] orgmode 9.x refile not working any longer with ido

2017-07-07 Thread Jerome Gay
Hi all,

Apologies in advance as this is my first post here. I'm sharing my problem
with you all after posting to stackoverflow



Since I upgraded orgmode to 9.x, refile is no longer working with ido.
According to http://orgmode.org/Changes.html, all options related to ido
and iswitchb have been removed. It also mentions "Instead Org uses regular
functions, e.g., completion-read so as to let those libraries operate."

However, being a recent vim-user-turned-emacs, I can't find how to setup
ido (including ido-vertical) to work in orgmode 9.x the way it used to work
in 8.x

Any suggestion welcome. Thanks in advance.

Cheers /jerome


Re: [O] sideways table

2017-07-07 Thread John Hendy
On Fri, Jul 7, 2017 at 12:20 PM, Sharon Kimble
 wrote:
>
> I'm trying to use 'sideways' with an org-mode table being exported to
> latex. But its not working. This is my table header -
>
> --8<---cut here---start->8---
> #+CAPTION: Table of Parochial Fees from 1 January 2017 - Funerals, Burials 
> and Monuments (cite:0204).
> #+ATTR_LATEX: :booktabs t :environment longtable :float sideways
> --8<---cut here---end--->8---
>
> If I don't have ':environment longtable' then the pdf compiling fails saying 
> that -
>
> --8<---cut here---start->8---
> ! LaTeX Error: Environment sidewaystable undefined.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H   for immediate help.
>  ...
>
> l.12122 \begin{sidewaystable}
>  [htbp]
>
> --8<---cut here---end--->8---
>
> So how can I use 'sideways' with a table please? Its not clear exactly
> what to do from the org-mode manual, and google doesn't provide any
> solutions either.
>

I've run into this question before, but am not sure this is the same
thread I resolved it:
- https://lists.gnu.org/archive/html/emacs-orgmode/2014-03/msg00373.html

Namely: #+attr_latex: :float sidewaystable

Another option I use regularly:
- https://www.mail-archive.com/emacs-orgmode@gnu.org/msg110703.html

Namely: lscape pacakge longtable


Hope that helps!
John

> Thanks
> Sharon.
> --
> A taste of linux = http://www.sharons.org.uk
> TGmeds = http://www.tgmeds.org.uk
> DrugFacts = https://www.drugfacts.org.uk
> Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7



[O] sideways table

2017-07-07 Thread Sharon Kimble

I'm trying to use 'sideways' with an org-mode table being exported to
latex. But its not working. This is my table header -

--8<---cut here---start->8---
#+CAPTION: Table of Parochial Fees from 1 January 2017 - Funerals, Burials and 
Monuments (cite:0204).
#+ATTR_LATEX: :booktabs t :environment longtable :float sideways
--8<---cut here---end--->8---

If I don't have ':environment longtable' then the pdf compiling fails saying 
that -

--8<---cut here---start->8---
! LaTeX Error: Environment sidewaystable undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...  
  
l.12122 \begin{sidewaystable}
 [htbp]

--8<---cut here---end--->8---

So how can I use 'sideways' with a table please? Its not clear exactly
what to do from the org-mode manual, and google doesn't provide any
solutions either.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk  
Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7


signature.asc
Description: PGP signature


Re: [O] org-plus-contrib, where is library-of-babel.org?

2017-07-07 Thread Thomas S. Dye
Aloha ed...@openmail.cc,

ed...@openmail.cc writes:

>> Date: Thu, 06 Jul 2017 05:55:01 -1000
>> From: "Thomas S. Dye" 
>> Subject: Re: [O] org-plus-contrib, where is library-of-babel.org?
>> Message-ID: 
>>
>> I'm wondering where to find library-of-babel.org in the ELPA
>> distribution of Org mode, org-plus-contrib.
> The only thing that I could do was create a file and load it every time
> with ~org-babel-lob-ingest~. I hope that helps you, and that you get
> your answer. I am also interested to know.

Thanks for your response.

Apparently, library-of-babel.org is not distributed with the Org mode
that ships with emacs.  Not sure why that is.  I'm guessing it's a
license issue?

The ELPA package, org-plus-contrib, appears to mimic the emacs
distribution of Org mode, rather than replicate the development master
branch, which is where I used to find the library.

I'm using org-plus-contrib since I moved to spacemacs a while back.

Does anyone else use org-plus-contrib and library-of-babel.org?  Any
suggestions on how to track and install library-of-babel.org in this
situation?

All the best,
Tom

--
Thomas S. Dye
http://www.tsdye.com



Re: [O] org-plus-contrib, where is library-of-babel.org?

2017-07-07 Thread edgar

Date: Thu, 06 Jul 2017 05:55:01 -1000
From: "Thomas S. Dye" 
Subject: Re: [O] org-plus-contrib, where is library-of-babel.org?
Message-ID: 

I'm wondering where to find library-of-babel.org in the ELPA
distribution of Org mode, org-plus-contrib.
The only thing that I could do was create a file and load it every time 
with ~org-babel-lob-ingest~. I hope that helps you, and that you get 
your answer. I am also interested to know.


P.S. sorry for my last reply to the Org-mode mailing list. I should have 
checked the subject.


-

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



Re: [O] mimetype for orgmode files

2017-07-07 Thread John Kitchin
That would work fine for me.

Let me know the url to that note when you update it so I can use it as a
primary source for the github registration.

Bastien writes:

> Hi John,
>
> John Kitchin  writes:
>
>> Could we come to an agreement on "text/x-org" or "text/x-orgmode" and
>> document that on orgmode.org?
>
> I'd vote for "text/x-org".  The "mode" part sounds emacsy,
> which is precisely not the point for a mimetype.
>
> I can add this sentence to orgmode.org's homepage: 
>
>   The /de facto/ mimetype for org attachments is "text/x-org".
>
> Or any better suggestion?


-- 
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



Re: [O] org babel, ess, R

2017-07-07 Thread Nicolas Goaziou
Hello,

John Hendy  writes:

> Really, it was a comment about how Org behaves, not necessarily a bug.
> That said, speaking for myself, I would never want a default session
> in interactive mode when I've defined one in the code heading. I'd
> love if Org could pick up on that setting, such that the first C-RET
> of the day dropped into the session named by the block I'm editing. At
> present, interactive mode appears to ignore this.
>
>
> Hope that helps clarify,

Thank you for the explaination.

Note that C-RET is not an Org thing, but defined by ESS mode. It doesn't
know anything about block headers.

Would it be possible to modify `ess-gen-proc-buffer-name-function' so
that it extracts the buffer name from the :session parameter?


Regards,

-- 
Nicolas Goaziou0x80A93738



Re: [O] org-info.js (un)maintained ?

2017-07-07 Thread Olivier Berger
Hi.

Responding to myself a bit :

Olivier Berger  writes:

>
> Maybe a useful thing to do could be to merge the changes from worg/code
> into a clone on github and make sure there are pending corresponding
> pull requests ?
>

At least this seems to be feasable, but the result would need some
testing... and maybe the merge back from github to worg, as the codebase
in GitHub changed too in between.

My attempt at merging worg -> github :
https://github.com/SebastianRose/org-info-js/pull/12

Hope this helps,

Best regards.
-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)



Re: [O] [PATCH] allow users to customize string in org-agenda-time-grid

2017-07-07 Thread Alex Branham
Hi -

On Fri 07 Jul 2017 at 07:32, Nicolas Goaziou  wrote:

> Would it be better to extend `org-agenda-time-grid' instead? It could,
> e.g., support a fourth element in the list.

Sure, that's possible. Patch attached. Note that this way, users who have set 
org-agenda-time-grid to a list with three elements will see a slightly 
different agenda now (the default ".." will get dropped). The order of the 
items in the list is also a bit weird --- they get displayed in the order 3, 4, 
2. I've updated the docstring to try to make this a bit clearer.

Alex

>From 12e5561b1df1d86a45e7c418dd7dd44763e52423 Mon Sep 17 00:00:00 2001
From: Alex Branham 
Date: Fri, 7 Jul 2017 10:29:28 +0200
Subject: [PATCH] org-agenda.el: Allow users to customize string after
 time-grid

* org-agenda.el: Users may now customize the string to display after
the time in the agenda by using the fourth element of org-agenda-time-grid.

TINYCHANGE
---
 lisp/org-agenda.el | 19 ---
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index ddd1b7d11..d479a7f61 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -1480,7 +1480,8 @@ the variable `org-agenda-time-grid'."
 (defcustom org-agenda-time-grid
   '((daily today require-timed)
 ""
-(800 1000 1200 1400 1600 1800 2000))
+(800 1000 1200 1400 1600 1800 2000)
+"..")

   "The settings for time grid for agenda display.
 This is a list of three items.  The first item is again a list.  It contains
@@ -1492,10 +1493,12 @@ symbols specifying conditions when the grid should be 
displayed:
  require-timed show grid only if at least one item has a time specification
  remove-match  skip grid times already present in an entry

-The second item is a string which will be placed behind the grid time.
+The second item is a string which will be placed where agenda items are 
displayed.

 The third item is a list of integers, indicating the times that should have
-a grid line."
+a grid line.
+
+The fourth item is a string placed after the grid times and before agenda 
items."
   :group 'org-agenda-time-grid
   :type
   '(list
@@ -1507,8 +1510,9 @@ a grid line."
require-timed)
 (const :tag "Skip grid times already present in an entry"
remove-match))
-(string :tag "Grid String")
-(repeat :tag "Grid Times" (integer :tag "Time"
+(string :tag "Grid String (after)")
+(repeat :tag "Grid Times" (integer :tag "Time"))
+(string :tag "Grid String (before)")))

 (defcustom org-agenda-show-current-time-in-grid t
   "Non-nil means show the current time in the time grid."
@@ -6400,6 +6404,7 @@ Any match of REMOVE-RE will be removed from TXT."
  (get-text-property 1 'effort txt)))
 ;; time, tag, effort are needed for the eval of the prefix format
 (tag (if tags (nth (1- (length tags)) tags) ""))
+(time-grid-trailing-characters (nth 3 org-agenda-time-grid))
 time
 (ts (if dotime (concat
 (if (stringp dotime) dotime "")
@@ -6478,8 +6483,8 @@ Any match of REMOVE-RE will be removed from TXT."
 (s1 (concat
  (org-agenda-time-of-day-to-ampm-maybe s1)
  (if org-agenda-timegrid-use-ampm
- " "
-   "..")))
+  (concat time-grid-trailing-characters " ")
+time-grid-trailing-characters)))
 (t ""))
  extra (or (and (not habitp) extra) "")
  category (if (symbolp category) (symbol-name category) category)
--
2.13.2


>From 12e5561b1df1d86a45e7c418dd7dd44763e52423 Mon Sep 17 00:00:00 2001
From: Alex Branham 
Date: Fri, 7 Jul 2017 10:29:28 +0200
Subject: [PATCH] org-agenda.el: Allow users to customize string after
 time-grid

* org-agenda.el: Users may now customize the string to display after
the time in the agenda by using the fourth element of org-agenda-time-grid.

TINYCHANGE
---
 lisp/org-agenda.el | 19 ---
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index ddd1b7d11..d479a7f61 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -1480,7 +1480,8 @@ the variable `org-agenda-time-grid'."
 (defcustom org-agenda-time-grid
   '((daily today require-timed)
 ""
-(800 1000 1200 1400 1600 1800 2000))
+(800 1000 1200 1400 1600 1800 2000)
+"..")
 
   "The settings for time grid for agenda display.
 This is a list of three items.  The first item is again a list.  It contains
@@ -1492,10 +1493,12 @@ symbols specifying conditions when the grid should be displayed:
  require-timed show grid only if at least one item has a time 

[O] org-info.js (un)maintained ?

2017-07-07 Thread Olivier Berger
Hi.

Looking at https://github.com/SebastianRose/org-info-js the code seems
rather unmaintained.

On the other hand, there's a copy inside worg/code that seems a bit more
recent.

Has anyone tried and avoid a fork here ?

I fear the situation isn't going to improve as it is.

Maybe a useful thing to do could be to merge the changes from worg/code
into a clone on github and make sure there are pending corresponding
pull requests ?

Or, if the maintainer is unresponsive, document the "fork" in the docs
under http://orgmode.org/worg/code/org-info-js/ ?

I haven't tried yet to contact Sebastian Rose and thought that maybe
others could enlighten me on the code's status before I dig more into
the issue.

Many thanks in advance.

Best regards,
-- 
Olivier BERGER 
http://www-public.telecom-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)




Re: [O] bug in tramp?

2017-07-07 Thread Michael Albinus
Nicolas Goaziou  writes:

> Hello,

Hi Nicolas,

> I removed the sole (require 'tramp) I could find in the code base.
> Hopefully it solves the problem.

Thanks!

> Regards,

Best regards, Michael.



Re: [O] [PATCH] allow users to customize string in org-agenda-time-grid

2017-07-07 Thread Nicolas Goaziou
Hello,

Alex Branham  writes:

> This small patch allows users to customize the string to display after the 
> time in the agenda view.
>
> I think I formatted the patch correctly, but please let me know if
> I missed something,

Thank you.

Would it be better to extend `org-agenda-time-grid' instead? It could,
e.g., support a fourth element in the list.

Regards,

-- 
Nicolas Goaziou



Re: [O] table column justification letters impotent in lowercase

2017-07-07 Thread Nicolas Goaziou
Hello,

bruce robertson  writes:

> Doesn't match 8.3 manual nor 9.0.9 online manual.
>
> Org-mode version 8.3beta (release_8.3beta-1062-gce4e64 @
> /Users/brucer42/git/org-mode/lisp/)
> GNU Emacs 25.1.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version
> 10.9.5 (Build 13F1911)) of 2016-09-20

I cannot reproduce the problem in Org 9.0.9, i.e.,  column is right
aligned.

Regards,

-- 
Nicolas Goaziou



[O] table column justification letters impotent in lowercase

2017-07-07 Thread bruce robertson
Doesn't match 8.3 manual nor 9.0.9 online manual.

Org-mode version 8.3beta (release_8.3beta-1062-gce4e64 @
/Users/brucer42/git/org-mode/lisp/)
GNU Emacs 25.1.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version
10.9.5 (Build 13F1911)) of 2016-09-20

|   |   |   | |   |
|   |   |   | 4  |   |
|   |   |   | bunch of stuff |   |
|   |   |   | 5  |   |
|   |   |   | 6  |   |
|   |   |   | 7  |   |

|   |   |   | |   |
|   |   |   |  4 |   |
|   |   |   | bunch of stuff |   |
|   |   |   |  5 |   |
|   |   |   |  6 |   |
|   |   |   |  7 |   |


Re: [O] [PATCH 2/2] org-refile: Fix inconsistency when listing refile targets

2017-07-07 Thread Allen Li
Yes, 2906e50177d47 is needed on maint.  However, my understanding is
that on maint we still escape filesystem slashes in the outline path?
If so, org-protect-path will be needed around the file-truename in
2906e50177d4

My workflow recently changed such that I no longer need to set
org-refile-use-outline-path to full-file-path, so my interest in this
bug has dropped accordingly, but it is still a bug on maint that
breaks refiling, so I think the fix should be backported unless there
are plans for a main -> maint merge soon.

On Sun, Jul 2, 2017 at 11:44 PM, Nicolas Goaziou  wrote:
> Hello,
>
> Allen Li  writes:
>
>> I just realized that this patch was applied to the master branch, not
>> the maint branch.
>>
>> The absence of this patch results in the continued life of a bug in
>> the maint branch where it is not possible to refile to the top level
>> of an agenda file when using full-file-path for
>> org-refile-use-outline-path.
>>
>> Is it possible to backport this to the maint branch?  This will
>> require adding the org-protect-slash that I mentioned earlier in this
>> thread.  Otherwise, refile is basically unusable for me when
>> full-file-path is set.
>
> Wouldn't 2906e50177d47b4f4a0e75532a0c9dcc9cf72824 be sufficient in your
> case?
>
> If not, what commits are required?
>
> Regards,
>
> --
> Nicolas Goaziou



[O] [PATCH] allow users to customize string in org-agenda-time-grid

2017-07-07 Thread Alex Branham
Hello,

This small patch allows users to customize the string to display after the time 
in the agenda view.

I think I formatted the patch correctly, but please let me know if I missed 
something,
Alex



>From 3e1a9a4a0cde14e1496c355028c9ef3c8b75b9e2 Mon Sep 17 00:00:00 2001
From: Alex Branham 
Date: Fri, 7 Jul 2017 08:25:38 +0200
Subject: [PATCH] org-agenda.el: Allow users to customize string after
 time-grid

* org-agenda.el: Users may now customize the string to display after
the time in the agenda with the variable
`org-agenda-time-grid-trailing-characters'.

TINYCHANGE
---
 lisp/org-agenda.el | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index ddd1b7d11..43b844cc3 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -1510,6 +1510,11 @@ a grid line."
 (string :tag "Grid String")
 (repeat :tag "Grid Times" (integer :tag "Time"

+(defcustom org-agenda-time-grid-trailing-characters ".."
+  "Characters to show after time when `org-agenda-use-time-grid' is non-nil."
+  :group 'org-agenda-time-grid
+  :type 'string)
+
 (defcustom org-agenda-show-current-time-in-grid t
   "Non-nil means show the current time in the time grid."
   :group 'org-agenda-time-grid
@@ -6478,8 +6483,8 @@ Any match of REMOVE-RE will be removed from TXT."
 (s1 (concat
  (org-agenda-time-of-day-to-ampm-maybe s1)
  (if org-agenda-timegrid-use-ampm
- " "
-   "..")))
+  (concat 
org-agenda-time-grid-trailing-characters " ")
+org-agenda-time-grid-trailing-characters)))
 (t ""))
  extra (or (and (not habitp) extra) "")
  category (if (symbolp category) (symbol-name category) category)
--
2.13.2

>From 3e1a9a4a0cde14e1496c355028c9ef3c8b75b9e2 Mon Sep 17 00:00:00 2001
From: Alex Branham 
Date: Fri, 7 Jul 2017 08:25:38 +0200
Subject: [PATCH] org-agenda.el: Allow users to customize string after
 time-grid

* org-agenda.el: Users may now customize the string to display after
the time in the agenda with the variable
`org-agenda-time-grid-trailing-characters'.

TINYCHANGE
---
 lisp/org-agenda.el | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index ddd1b7d11..43b844cc3 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -1510,6 +1510,11 @@ a grid line."
 (string :tag "Grid String")
 (repeat :tag "Grid Times" (integer :tag "Time"
 
+(defcustom org-agenda-time-grid-trailing-characters ".."
+  "Characters to show after time when `org-agenda-use-time-grid' is non-nil."
+  :group 'org-agenda-time-grid
+  :type 'string)
+
 (defcustom org-agenda-show-current-time-in-grid t
   "Non-nil means show the current time in the time grid."
   :group 'org-agenda-time-grid
@@ -6478,8 +6483,8 @@ Any match of REMOVE-RE will be removed from TXT."
 			 (s1 (concat
 			  (org-agenda-time-of-day-to-ampm-maybe s1)
 			  (if org-agenda-timegrid-use-ampm
-  " "
-"..")))
+  (concat org-agenda-time-grid-trailing-characters " ")
+org-agenda-time-grid-trailing-characters)))
 			 (t ""))
 	  extra (or (and (not habitp) extra) "")
 	  category (if (symbolp category) (symbol-name category) category)
-- 
2.13.2