all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 11913@debbugs.gnu.org, rlb@defaultvalue.org
Subject: bug#11913: Unusual Emacs 24.1 arithmetic error (abs) on i386 machine
Date: Fri, 13 Jul 2012 22:15:34 +0300	[thread overview]
Message-ID: <83fw8va2w9.fsf@gnu.org> (raw)
In-Reply-To: <3b8venqy86.fsf@fencepost.gnu.org>

> From: Glenn Morris <rgm@gnu.org>
> Cc: rlb@defaultvalue.org,  11913@debbugs.gnu.org
> Date: Fri, 13 Jul 2012 15:04:25 -0400
> 
> Eli Zaretskii wrote:
> 
> >> >   cal-hebrew.el:819:56:Error: Arithmetic error: "abs", 8.0
> [...]
> > Do we even understand how this error happens?  There's nothing even
> > close to a reference to 'abs' on that line of cal-hebrew.el in my copy
> > of Emacs 24.1.
> 
> Line 819 of cal-hebrew.el in Emacs 24 is diary-hebrew-birthday.
> This calls calendar-absolute-from-gregorian, which uses the `abs'
> function.

No, line 819 is this:

  (defun diary-hebrew-birthday (month day year &optional after-sunset)

This doesn't call anything.  So this is still mystery in my eyes.

Btw, column 56, assuming it is 1-based, is 'a' in after-sunset.  Huh??

> But why does (abs 8.0) return an arithmetic error at all...?

Hardware problem or some kernel issue are the only things that come to
mind.  Running under a debugger should bring more info.

And I still don't see how 'abs' could be called from that line and
that column.





  reply	other threads:[~2012-07-13 19:15 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11 17:53 bug#11913: Unusual Emacs 24.1 arithmetic error (abs) on i386 machine Rob Browning
2012-07-11 19:16 ` Glenn Morris
2012-07-11 21:52   ` Rob Browning
2012-07-13 17:47     ` Rob Browning
2012-07-13 17:51       ` Glenn Morris
2012-07-13 18:40         ` Eli Zaretskii
2012-07-13 19:02           ` Andreas Schwab
2012-07-13 19:02           ` Rob Browning
2012-07-13 19:17             ` Eli Zaretskii
2012-07-13 19:29               ` Andreas Schwab
2012-07-13 19:35                 ` Eli Zaretskii
2012-07-13 19:51                   ` Andreas Schwab
2012-07-14  6:23                     ` Eli Zaretskii
2012-07-14  8:09                       ` Andreas Schwab
2012-07-13 19:50               ` Rob Browning
2012-07-14  6:21                 ` Eli Zaretskii
2012-07-13 19:04           ` Glenn Morris
2012-07-13 19:15             ` Eli Zaretskii [this message]
2012-07-13 19:19               ` Glenn Morris
2012-07-13 19:37                 ` Eli Zaretskii
2012-07-13 19:47                   ` Andreas Schwab
2012-07-14 21:45             ` Rob Browning
2012-07-17  2:33               ` Rob Browning
2012-07-17  2:59 ` Paul Eggert

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fw8va2w9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=11913@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    --cc=rlb@defaultvalue.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.