From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Herbert Euler" <herberteuler@hotmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Error report on startup
Date: Fri, 2 Mar 2007 02:57:54 +0100 [thread overview]
Message-ID: <f7ccd24b0703011757p2416672eh767bb2049233d64f@mail.gmail.com> (raw)
In-Reply-To: <BAY112-F869444214EC30173055B4DA870@phx.gbl>
On 3/2/07, Herbert Euler <herberteuler@hotmail.com> wrote:
> (defun type-break-get-previous-time ()
> "Get previous break time from `type-break-file-name'.
> Returns nil if the file is missing or if the time breaks with the
> `current-time' format."
> (let ((file (type-break-choose-file)))
> (if file
> (timep ;; returns expected format, else nil
> (with-current-buffer (find-file-noselect file 'nowarn)
> (save-excursion
> (goto-char (point-min))
> (read (current-buffer))))))))
I stand by what I said. If type-break-get-previous-time loads elisp
code in such a way, it is to be *expected* that erroneous input (in
the file being read) will be reported as a problem of
type-break-get-previous-time. If the code's author would've wanted
normal loading semantics, s/he would've used (load file).
Juanma
next prev parent reply other threads:[~2007-03-02 1:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-01 13:48 Error report on startup Herbert Euler
2007-03-01 14:30 ` Juanma Barranquero
2007-03-01 15:04 ` Herbert Euler
2007-03-01 15:26 ` Juanma Barranquero
2007-03-02 1:23 ` Herbert Euler
2007-03-02 1:57 ` Juanma Barranquero [this message]
2007-03-02 8:26 ` Richard Stallman
2007-03-02 23:46 ` Richard Stallman
2007-03-05 1:41 ` Herbert Euler
2007-03-02 3:28 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0703011757p2416672eh767bb2049233d64f@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=herberteuler@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).