unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Sean McAfee <eefacm@gmail.com>
Cc: 7510@debbugs.gnu.org
Subject: bug#7510: 23.2; negative "left" parameter of initial-frame-alist interpreted	incorrectly
Date: Wed, 01 Dec 2010 17:39:58 +0100	[thread overview]
Message-ID: <4CF67A5E.20506@swipnet.se> (raw)
In-Reply-To: <AANLkTin34Lm=h2_giFCoqjzkKihRnt0Xf-HGX=nF2Vs3@mail.gmail.com>

It seems the X|YNegative handling code was lost in Emacs 23.
It is easy enough to fix, but shall this be fixed in the emacs-23 branch or 
just the trunk.  It is a regression from Emacs 22, but nobody noticed it in 
Emacs 23.1 AFAIK.

	Jan D.

2010-11-28 22:01, Sean McAfee skrev:
> When I start emacs after replacing the contents of my .emacs file with
> just the single line:
>
> (setq initial-frame-alist (append '((top . 0) (left . -100))
> initial-frame-alist))
>
> ...then the initial frame appears with its left edge 100 pixels to the
> left of the left edge of the screen--that is, hanging off of the edge of
> the screen.  Prior to my recent upgrade from Emacs 22, this same snippet
> cause my initial frame to correctly be placed with its right edge 100
> pixels to the left of the right edge of the screen.
>
>
> In GNU Emacs 23.2.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
>   of 2010-11-14 on sean-mcafees-macbook-pro.local
> Windowing system distributor `Apple', version 10.3.949
> configured using `configure  '--prefix=/opt/local' '--with-ns'
> '--without-x' '--without-dbus' 'CC=/usr/bin/gcc-4.0' 'CFLAGS=-O2 -arch
> i386' 'LDFLAGS=-L/opt/local/lib -arch i386'
> 'CPPFLAGS=-I/opt/local/include''
>
> 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: nil
>    value of $XMODIFIERS: nil
>    locale-coding-system: nil
>    default enable-multibyte-characters: t
>
> Major mode: Emacs-Lisp
>
> Minor modes in effect:
>    desktop-save-mode: t
>    iswitchb-mode: t
>    tooltip-mode: t
>    mouse-wheel-mode: t
>    menu-bar-mode: t
>    file-name-shadow-mode: t
>    global-font-lock-mode: t
>    font-lock-mode: t
>    auto-encryption-mode: t
>    auto-compression-mode: t
>    line-number-mode: t
>    transient-mark-mode: t
>
> Recent input:
> t SPC i s , SPC p a e r<backspace>  <backspace>  <backspace>
> <backspace>  [ a<backspace>  <backspace>  p a r<backspace>
> <backspace>  <backspace>  h a n g i n g SPC o f f SPC
> t h e SPC l e t<backspace>  <backspace>  <backspace>
> <backspace>  <backspace>  <backspace>  <backspace>  <backspace>
> <backspace>  <backspace>  <backspace>  <backspace>  SPC
> o f f SPC t h e SPC l e f t SPC s i d e SPC o f SPC
> t h e SPC s c r e e n C-n C-p M-q M->  C-/ C-f C-/ M->
> C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
> C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
> C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
> C-p C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
> C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
> C-l C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
> C-p C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p
> C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
> C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
> C-p C-p C-p C-p C-p C-l C-p C-p C-p C-p C-p C-p C-p
> C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
> C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n
> C-n C-n C-n C-n C-f C-f C-f C-f C-f M-d e d g e M-q
> C-a C-c C-c y e s<return>  M-s-x M-s-p C-x o C-u C-x
> C-o C-p C-n<s-left>  <s-left>  <s-left>  M-x r e p o
> r t - e m a c s<tab>  <return>
>
> Recent messages:
> Mark set
> Auto-saving...done
> Auto-saving...done
> Mark set
> Undo!
> Redo!
> Mark set
> Sending...
> Sending via mail...
> Sending...done
>
> Load-path shadows:
> ~/emacs/misc hides
> /opt/local/var/macports/software/emacs-app/23.2_1/Applications/MacPorts/Emacs.app/Contents/Resources/lisp/misc
> ~/emacs/japanese hides
> /opt/local/var/macports/software/emacs-app/23.2_1/Applications/MacPorts/Emacs.app/Contents/Resources/lisp/language/japanese
> ~/emacs/emms-3.0/tq hides
> /opt/local/var/macports/software/emacs-app/23.2_1/Applications/MacPorts/Emacs.app/Contents/Resources/lisp/emacs-lisp/tq
>
> Features:
> (browse-url mailalias mailclient gnus-msg gnus-art mm-uu mml2015
> epg-config mm-view smime dig gnus-sum nnoo gnus-group gnus-undo nnmail
> mail-source format-spec gnus-start gnus-spec gnus-int gnus-range
> gnus-win gnus gnus-ems newcomment shadow sort mail-extr message
> ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies
> mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums
> mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr
> gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils emacsbug
> help-mode view vc-git zenburn color-theme wid-edit sendmail reporter
> term disp-table ehelp electric ring advice help-fns advice-preload
> emms-cache emms-info-ogginfo emms-info-mp3info emms-playlist-mode
> edmacro kmacro emms-player-mplayer emms-source-playlist emms-source-file
> locate dired regexp-opt emms-playing-time emms-info later-do
> emms-player-mpg321-remote emms-player-simple emms-setup emms emms-compat
> desktop server iswitchb cl cl-19 tooltip ediff-hook vc-hooks
> lisp-float-type mwheel ns-win easymenu tool-bar dnd fontset image fringe
> lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
> mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
> georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
> korean japanese hebrew greek romanian slovak czech european ethiopic
> indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
> abbrev loaddefs button minibuffer faces cus-face files text-properties
> overlay md5 base64 format env code-pages mule custom widget
> hashtable-print-readable backquote make-network-process ns multi-tty
> emacs)
>
>






  reply	other threads:[~2010-12-01 16:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28 21:01 bug#7510: 23.2; negative "left" parameter of initial-frame-alist interpreted incorrectly Sean McAfee
2010-12-01 16:39 ` Jan Djärv [this message]
2010-12-01 17:22   ` Glenn Morris
2010-12-01 18:12     ` Jan Djärv
2010-12-01 18:08   ` Stefan Monnier
2010-12-02  7:14     ` Jan Djärv

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=4CF67A5E.20506@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=7510@debbugs.gnu.org \
    --cc=eefacm@gmail.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).