From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dan Newsgroups: gmane.emacs.help Subject: Re: move-beginning-of-line moves to the very beginning instead of where it should Date: Wed, 31 Dec 2014 21:01:23 -0800 (PST) Message-ID: <1bfd045b-a7a2-47bc-93a9-78704b455d73@googlegroups.com> References: <39216306-b47a-4a72-8f4a-f74255c333a1@googlegroups.com> <8738c3gugm.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1420088726 18747 80.91.229.3 (1 Jan 2015 05:05:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Jan 2015 05:05:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 01 06:05:20 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y6Xwk-00005r-Ia for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Jan 2015 06:05:18 +0100 Original-Received: from localhost ([::1]:42021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6Xwj-000324-Bw for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Jan 2015 00:05:17 -0500 X-Received: by 10.52.1.103 with SMTP id 7mr55198442vdl.6.1420088483431; Wed, 31 Dec 2014 21:01:23 -0800 (PST) X-Received: by 10.182.241.135 with SMTP id wi7mr973obc.29.1420088483230; Wed, 31 Dec 2014 21:01:23 -0800 (PST) Original-Path: usenet.stanford.edu!dc16no3376059qab.1!news-out.google.com!qk8ni6425igc.0!nntp.google.com!h15no19981160igd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <8738c3gugm.fsf@debian.uxu> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=75.25.136.199; posting-account=4BQPhQoAAAC2TdlGRjSyQyl2uIZddGX6 Original-NNTP-Posting-Host: 75.25.136.199 User-Agent: G2/1.0 Injection-Date: Thu, 01 Jan 2015 05:01:23 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:209541 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101820 Archived-At: Thanks Emanuel and Stefan. Finally the problem sort of solved itself, and i'm posting just in case som= ebody else has this problem and is trawling the net for a clue like i was. Just to recap, the problem was the control-A in the shell (move-beginning-o= f-line) would quit working for me when using emacs on the mac. It would al= ways start out working, but after a session was up for some time---an hour = to a few days to a few weeks---it would begin misbehaving by going all the = way to the beginning of the line, instead of stopping at the end of the she= ll prompt. But the problem never happened on ubuntu or any other system. I tried following some of the very good advice given here about how to debu= g the elisp code but could not get to the bottom of it. But then somebody (Juan Leon) yesterday posted the same issue on emacs.stac= kexchange.com, and somebody else (abo-abo) suggested looking at inhibit-fie= ld-text-motion. And that turned out to be my problem: i had a function whi= ch temporarily set that variable to t, but sometimes i interrupted the func= tion---and in those cases (naturally) control-A would quit working properly= . And it never showed up on ubuntu, because on ubuntu i had an alternative= to that function. So thanks again everybody! dan