unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#4399: 23.1; let a file know it was run with --script
Date: Thu, 10 Sep 2009 20:06:39 -0600	[thread overview]
Message-ID: <m3y6omi6a8.fsf@fleche.redhat.com> (raw)


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


On occasion it would be convenient to have a .el file which could check
whether it was invoked with --script.  (Python can do this, it is quite
handy there.)

I don't think there is a way to do this currently.


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.1/etc/DEBUG for instructions.


In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.5)
 of 2009-08-26 on x86-2.fedora.phx.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.10601901
configured using `configure  '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu
 ffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-agent-mode: t
  shell-dirtrack-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-spelling-mode: t
  erc-truncate-mode: t
  diff-auto-refine-mode: t
  gnus-undo-mode: t
  erc-status-mode: t
  erc-services-mode: t
  erc-networks-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
q SPC 5 0 <return> M-> SPC Q y C-n C-n C-SPC C-u E 
SPC C-u E q C-z o <f10> <f10> C-z o C-r o t h e r C-a 
SPC 5 0 <return> M-> C-u C-u C-p C-u C-n p = C-u E 
E E E E E S-SPC E S-SPC E S-SPC E S-SPC E C-u C-p C-n 
M S-SPC M S-SPC M S-SPC q s C-u C-u C-n p p SPC 5 0 
<return> M-> q SPC M-> q C-s a r c C-a C-s f r C-a 
SPC 5 0 <return> M-> Q y s ESC [ > 1 ; 2 0 0 5 ; 0 
c C-x b * G TAB RET 1 g n n SPC ESC > Q y C-r o t h 
e r C-a SPC 5 0 RET ESC > C-u C-p C-p p C-u RET RET 
RET RET RET C-u RET M SPC n M SPC SPC E E SPC SPC SPC 
E = C-l C-a ESC v ESC v ESC v q s ESC [ 2 1 ~ ESC [ 
2 1 ~ ESC [ 2 1 ~ ESC [ 2 1 ~ ESC [ 2 1 ~ ESC [ 2 1 
~ C-v C-l p p p SPC E q n n SPC ESC > C-p C-p E E q 
C-l C-u C-n C-u C-n C-u C-n C-l n SPC 5 RET Q y n n 
n SPC 5 0 RET ESC > Q y p SPC 5 0 RET ESC > Q y s ESC 
v ESC [ 2 1 ~ ESC [ 2 1 ~ ESC [ 2 1 ~ ESC [ 2 1 ~ ESC 
[ 2 1 ~ ESC x r e p o r t - e m TAB b TAB RET

Recent messages:
Retrieving newsgroup: nnml:mail.cygnus...
Fetching headers for nnml:mail.cygnus...done
Generating summary...done
Mark set
Discard changes to this group and exit? (y or n) 
(No changes need to be saved)
Saving /home/tromey/.newsrc.eld...
Saving file /home/tromey/.newsrc.eld...
Wrote /home/tromey/.newsrc.eld
Saving /home/tromey/.newsrc.eld...done

Tom






             reply	other threads:[~2009-09-11  2:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-11  2:06 Tom Tromey [this message]
2009-09-11  3:58 ` bug#4399: 23.1; let a file know it was run with --script Glenn Morris
2009-09-18 17:34   ` Tom Tromey
2009-09-18 18:04     ` Glenn Morris
2009-09-18 18:56       ` Tom Tromey
2009-09-18 19:00         ` Glenn Morris
2009-09-19  1:11           ` Tom Tromey
2009-09-19  3:19             ` Glenn Morris
2009-09-19  3:25               ` Processed: " Emacs bug Tracking System
2022-02-07  0:54     ` bug#4399: simple way to identify top-level --script file Lars Ingebrigtsen

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=m3y6omi6a8.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=4399@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.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 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).