From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.help Subject: Inhibit line-breaking inside syntactic elements Date: 04 Sep 2003 06:11:21 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062719100 30181 80.91.224.253 (4 Sep 2003 23:45:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2003 23:45:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 05 01:44:57 2003 Return-path: Original-Received: from hermes.netfonds.no ([80.91.224.195]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19v3mb-0002Ph-00 for ; Fri, 05 Sep 2003 01:44:57 +0200 Original-Received: from monty-python.gnu.org (monty-python.gnu.org [199.232.76.173]) by hermes.netfonds.no (8.12.8p1/8.12.8) with ESMTP id h84NioDp017947 for ; Fri, 5 Sep 2003 01:44:55 +0200 (CEST) Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19v3kT-0005fX-M8 for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2003 19:42:45 -0400 Original-Path: shelby.stanford.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: physics.stanford.edu Original-X-Trace: news.Stanford.EDU 1062681088 24294 171.64.107.180 (4 Sep 2003 13:11:28 GMT) Original-X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:116369 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: seems clean Xref: main.gmane.org gmane.emacs.help:12288 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12288 I am currently writing a major mode for the Wiki markup language used in Wikipedia (http://www.wikipedia.org), and I need help figuring out how to stop filling functions from breaking lines inside certain syntactic constructs. In Wiki markup, links are surrounded by two sets of braces, [[like this]]. For various reasons, the entire link should be placed on the same line, so I need to prevent auto-fill and fill-paragraph from automatically inserting newlines inside such a construct ([[like this]]). Does anyone know how to do this? Thanks, -- Yidong