From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "paul r" Newsgroups: gmane.emacs.devel Subject: Re: Maintenance suggestion on an emacs mode Date: Fri, 4 Apr 2008 13:45:44 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207309564 1789 80.91.229.12 (4 Apr 2008 11:46:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2008 11:46:04 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 04 13:46:36 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JhkNN-0007Ul-Ko for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 13:46:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhkMk-0002c2-TD for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 07:45:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JhkMg-0002Z1-Sh for emacs-devel@gnu.org; Fri, 04 Apr 2008 07:45:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JhkMg-0002Xm-7C for emacs-devel@gnu.org; Fri, 04 Apr 2008 07:45:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhkMg-0002XQ-03 for emacs-devel@gnu.org; Fri, 04 Apr 2008 07:45:50 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.156]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhkMf-0004uf-KX for emacs-devel@gnu.org; Fri, 04 Apr 2008 07:45:49 -0400 Original-Received: by fg-out-1718.google.com with SMTP id d23so8980fga.30 for ; Fri, 04 Apr 2008 04:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=FQyGkiAFEQTmWqgnXDpIXmjqxxH3hMwT5C1x+P3eRGw=; b=wCIug2kMQGW6hFKzkgHSSXXSSeTukGlMJ3kIojRJ53FQTJ3zzHObXJKWMjJ/CN2c0zZK9nbNqRFST60aEYZwsYkbtN4T9MvMuNxqOVXLLUZHdDsruvgz5/F402AvY8tHgrAw9po5RJpm6Rp+tI2C4BoenO1A4qy9xUPzmrEu6ZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d3MP8uXqHhS5mBuOpSRvGmXF3zvZ1VI+XIh/b5WZHBEMPLpmCP808qT7k2dRpII32FTxm7ynEigWm9tWlT5coX1GF2gWkHXlh9HiKmeyT6Oqzrf330Q8zSPOMB0r4A4y6ovasZvVWrl2LFpbRLxGbDSq3Zz6kSDEvmmqxmXPft0= Original-Received: by 10.82.166.9 with SMTP id o9mr2739203bue.32.1207309544524; Fri, 04 Apr 2008 04:45:44 -0700 (PDT) Original-Received: by 10.82.175.3 with HTTP; Fri, 4 Apr 2008 04:45:44 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94325 Archived-At: 2008/4/4, Stefan Monnier : > > Please find attached patches. > > 3 questions : > > - why is sgml in textmodes ? > > > Why not? Although XML is now used for more than just text, SGML was > originally mostly used for text (and mostly for HTML, actually). Fair enough > > - When testing this kind of modifications, I could not find a way to > > unload a mode so that I could make a modification, and reload the > > mode. I ended up closing and reopening an emacs instance for that :) > > > You can try M-x unload-feature, but I typically just use C-M-x to > evaluate the function I just changed. unload-feature is what I need, don't know how I missed it. C-M-x, or re-loading the file, can not help for (defvar ...) Thank you stefan > > > > Stefan >