* Want help for a helper function which send current link file under point to Kindle path.
@ 2017-07-13 0:29 numbchild
2017-12-02 6:01 ` numbchild
0 siblings, 1 reply; 2+ messages in thread
From: numbchild @ 2017-07-13 0:29 UTC (permalink / raw)
To: Org-mode
[-- Attachment #1: Type: text/plain, Size: 842 bytes --]
I want to write a helper function to send the link file (usually ebooks)
under the point to Kindle path like (/run/media/username/Kindle/documents/).
Hope this function can provide the following functionalities:
- check whether the source file (ebook) exist in Kindle?
- check the source file format, if not Kindle supported, then convert it
with command `ebook-convert` which is comes from program "Calibre".
I wander how to get the link actual path under the point?
For example, org link like this:
[[file:Data/Books/kk.epub][kk.epub]]
[[file+sys:/home/username/Documents/kk2.mobi][kk2.mobi]]
[stardiviner] <Hack this world!> GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
[-- Attachment #2: Type: text/html, Size: 2111 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Want help for a helper function which send current link file under point to Kindle path.
2017-07-13 0:29 Want help for a helper function which send current link file under point to Kindle path numbchild
@ 2017-12-02 6:01 ` numbchild
0 siblings, 0 replies; 2+ messages in thread
From: numbchild @ 2017-12-02 6:01 UTC (permalink / raw)
To: Org-mode
[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]
Does anyone knows how to get the link at the point in Org-mode?
For example:
Get the "Data/Books/kk.epub" part of [[file:Data/Books/kk.epub][kk.epub]]
[stardiviner] <Hack this world!> GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Thu, Jul 13, 2017 at 8:29 AM, numbchild@gmail.com <numbchild@gmail.com>
wrote:
> I want to write a helper function to send the link file (usually ebooks)
> under the point to Kindle path like (/run/media/username/Kindle/
> documents/).
> Hope this function can provide the following functionalities:
>
> - check whether the source file (ebook) exist in Kindle?
> - check the source file format, if not Kindle supported, then convert it
> with command `ebook-convert` which is comes from program "Calibre".
>
> I wander how to get the link actual path under the point?
> For example, org link like this:
>
> [[file:Data/Books/kk.epub][kk.epub]]
> [[file+sys:/home/username/Documents/kk2.mobi][kk2.mobi]]
>
> [stardiviner] <Hack this world!> GPG key ID: 47C32433
> IRC(freeenode): stardiviner Twitter: @numbchild
> Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
> Blog: http://stardiviner.github.io/
>
[-- Attachment #2: Type: text/html, Size: 3501 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-02 6:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-13 0:29 Want help for a helper function which send current link file under point to Kindle path numbchild
2017-12-02 6:01 ` numbchild
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).