From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: indent-region deletes most of region: where to start? Date: Wed, 11 Jul 2012 21:44:53 +0400 Message-ID: <4FFDBB95.4050207@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1342028712 957 80.91.229.3 (11 Jul 2012 17:45:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2012 17:45:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: eisenham@stsci.edu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 11 19:45:11 2012 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 1Sp0yL-00052y-Up for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jul 2012 19:45:10 +0200 Original-Received: from localhost ([::1]:44073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sp0yL-0000RP-9W for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Jul 2012 13:45:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sp0yA-0000PW-Kf for help-gnu-emacs@gnu.org; Wed, 11 Jul 2012 13:45:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sp0y9-0000GY-Fy for help-gnu-emacs@gnu.org; Wed, 11 Jul 2012 13:44:58 -0400 Original-Received: from forward5.mail.yandex.net ([77.88.46.21]:37434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sp0y9-0000GP-3d for help-gnu-emacs@gnu.org; Wed, 11 Jul 2012 13:44:57 -0400 Original-Received: from smtp1.mail.yandex.net (smtp1.mail.yandex.net [77.88.46.101]) by forward5.mail.yandex.net (Yandex) with ESMTP id 85054120173F; Wed, 11 Jul 2012 21:44:55 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342028695; bh=11V417qPz4hA02orblgo0t5RFgXGsiUZfD6SDMmXhxc=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:Content-Type: Content-Transfer-Encoding; b=lbHLwUkhNDYdffaeLeFiBa1Aiz3Yl/Wwsnwkifw7+Krm7b4g4w5YT942qIcIVa/y4 97VXT1ehlGcub3jBK6Yo9/SppWCEbCeCTXeoTw6swxoD84LTfcK1TS9bQYVnDr3NK7 UXcspJCskJQ+65yrGvmDqxsIsIaaHk368bsail0M= Original-Received: from smtp1.mail.yandex.net (localhost [127.0.0.1]) by smtp1.mail.yandex.net (Yandex) with ESMTP id 6447BAA0581; Wed, 11 Jul 2012 21:44:53 +0400 (MSK) Original-Received: from 98-87.nwlink.spb.ru (98-87.nwlink.spb.ru [178.252.98.87]) by smtp1.mail.yandex.net (nwsmtp/Yandex) with ESMTP id iqAK9pBY-irAWtVaX; Wed, 11 Jul 2012 21:44:53 +0400 X-Yandex-Rcpt-Suid: eisenham@stsci.edu X-Yandex-Rcpt-Suid: help-gnu-emacs@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1342028693; bh=11V417qPz4hA02orblgo0t5RFgXGsiUZfD6SDMmXhxc=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: Content-Type:Content-Transfer-Encoding; b=OxJzR0/jaIQx4QI0c4E5eAWgpg+Hu/g9DwnO26IYj9x7iqXmx1/EKX5SqHh6p8+5X m/swiR0cvLFA9M4bBK6oOpztatEeQJAQQOWpJ3Btk+yov1lBop1GN/tztWp0isPbOc 7BfyS7UmCYFf8wSkWFiQB21s5+W7OBlHNg824s9k= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 77.88.46.21 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:85808 Archived-At: Jonathan Eisenhamer writes: > This is a "where to start" question. The situation is as follows: > > Issue: indent-region() deletes much of the region. It is clear that there is > some point in the file that triggers some failure where, depending on whether > mark was placed at the beginning or end of region, will delete from the trigger > point to mark. > > This is something related to v.24 of Emacs. The same file, sourcing the same > startup scripts in v.23 works fine. > > The reason I ask "where to start" or "who should I ask first about this" is > because of the complicated mode setup the file is being edited in. > > The file is a PHP file, and the mode list is (XHMTL yas Multi-Web). That's called the mode line. To look at the list of currently active modes, press 'C-h m', or 'M-x descrobe-mode'. > If I am following things, it looks like the actual function being called is the > built-in sgml-indent-line() > > So, to who or to where should I go from here? Here, probably: https://github.com/fgallina/multi-web-mode/issues