From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Monsanto Newsgroups: gmane.emacs.bugs Subject: bug#10738: insert before setting the mark means the mark wont be set Date: Mon, 6 Feb 2012 12:57:36 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328551468 25881 80.91.229.3 (6 Feb 2012 18:04:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2012 18:04:28 +0000 (UTC) To: 10738@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 06 19:04:26 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RuSvL-00012E-0H for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 19:04:19 +0100 Original-Received: from localhost ([::1]:53560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuSvK-0003Rw-Fi for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 13:04:18 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:34787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuSuI-0003Cy-Dt for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 13:03:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuSuF-0003Kg-Uz for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 13:03:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuSuF-0003Kc-O5 for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 13:03:11 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RuSv4-0004GC-NA for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 13:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Monsanto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Feb 2012 18:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10738 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132855140416319 (code B ref -1); Mon, 06 Feb 2012 18:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Feb 2012 18:03:24 +0000 Original-Received: from localhost ([127.0.0.1]:57506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuSuR-0004F5-9A for submit@debbugs.gnu.org; Mon, 06 Feb 2012 13:03:23 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46728) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuSqc-00048B-LI for submit@debbugs.gnu.org; Mon, 06 Feb 2012 12:59:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuSpe-0002Ds-Dv for submit@debbugs.gnu.org; Mon, 06 Feb 2012 12:58:30 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:49217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuSpe-0002Do-CH for submit@debbugs.gnu.org; Mon, 06 Feb 2012 12:58:26 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuSpa-0000ym-0z for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 12:58:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuSpW-0002BJ-1h for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 12:58:21 -0500 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:48192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuSpV-0002BE-Tc for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 12:58:18 -0500 Original-Received: by vcbf13 with SMTP id f13so4898677vcb.0 for ; Mon, 06 Feb 2012 09:58:16 -0800 (PST) Original-Received: by 10.220.228.4 with SMTP id jc4mr11495948vcb.36.1328551096145; Mon, 06 Feb 2012 09:58:16 -0800 (PST) Original-Received: by 10.220.229.71 with HTTP; Mon, 6 Feb 2012 09:57:36 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 06 Feb 2012 13:03:14 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Mon, 06 Feb 2012 13:04:15 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56582 Archived-At: >From emacs -q, consider the following program: (defun foo () =C2=A0 (interactive) =C2=A0 (insert "bar") =C2=A0 (push-mark) =C2=A0 (forward-line) =C2=A0 (activate-mark)) M-x foo, bar appears, but the mark is not set. (defun baz () =C2=A0 =C2=A0(interactive) =C2=A0 =C2=A0(push-mark) =C2=A0 =C2=A0(forward-line) =C2=A0 =C2=A0(activate-mark)) I wouldn't expect a command *before* setting the mark to affect if the mark was actually set. Is this a concurrency bug? In GNU Emacs 24.0.93.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.6) of 2012-02-04 on WORKCOMPUTER Windowing system distributor `The X.Org Foundation', version 11.0.11004000 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: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m a c s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Christopher Monsanto chris@monsan.to=C2=A0 --=C2=A0 http://monsan.to/