unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25112: 24.5; function to encode time from time string
@ 2016-12-04 20:56 Drew Adams
  2016-12-04 21:50 ` Drew Adams
  2016-12-05 16:08 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Drew Adams @ 2016-12-04 20:56 UTC (permalink / raw)
  To: 25112

Enhancement request: Please add a function that accepts a time string
and a format spec (to interpret the time string), and returns a time
value that represents the same time.

I could not find such a function mentioned in the manuals.  I came
across a need for such a thing when wanting to convert the :time entry
of an Eww "bookmark" to a (SEC-HIGH SEC-LOW MICROSEC PICOSEC) list such
as is returned by `current-time', for use in an ordinary Emacs bookmark.

(I have no idea why Eww uses a string to record the time, as there is
little you can do with it besides read it as a human.  But it does.)

(I have no idea why Eww uses its own, incompatible form of "bookmarks".
But it does.  And so does Org.)


In GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/usr --host=i686-pc-mingw32'





^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <<5b95d9b8-3281-40da-872d-1a98b8a3d1fa@default>]

end of thread, other threads:[~2016-12-05 21:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-04 20:56 bug#25112: 24.5; function to encode time from time string Drew Adams
2016-12-04 21:50 ` Drew Adams
2016-12-05 16:08 ` Eli Zaretskii
     [not found] <<5b95d9b8-3281-40da-872d-1a98b8a3d1fa@default>
     [not found] ` <<83vauyjr3g.fsf@gnu.org>
2016-12-05 21:49   ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).