From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Tassilo Horn <tsdh@gnu.org>
Newsgroups: gmane.emacs.help
Subject: Re: Add a handler
Date: Wed, 23 Apr 2014 08:07:20 +0200
Message-ID: <87ppk8d1ev.fsf@gnu.org>
References: <1366ad6f7a4a9624d8f90472f284f695@german-desktop>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1398233326 1247 80.91.229.3 (23 Apr 2014 06:08:46 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 23 Apr 2014 06:08:46 +0000 (UTC)
Cc: help-gnu-emacs@gnu.org
To: =?utf-8?Q?Germ=C3=A1n?= Arias <germanandre@gmx.es>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 23 08:08:39 2014
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1WcqMI-0007tt-KV
	for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Apr 2014 08:08:38 +0200
Original-Received: from localhost ([::1]:58755 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1WcqMI-0003UM-5E
	for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Apr 2014 02:08:38 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45820)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tsdh@gnu.org>) id 1WcqLw-0003LO-Ib
	for help-gnu-emacs@gnu.org; Wed, 23 Apr 2014 02:08:22 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <tsdh@gnu.org>) id 1WcqLq-00031D-LU
	for help-gnu-emacs@gnu.org; Wed, 23 Apr 2014 02:08:16 -0400
Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:51315)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <tsdh@gnu.org>)
	id 1WcqLq-000311-G2
	for help-gnu-emacs@gnu.org; Wed, 23 Apr 2014 02:08:10 -0400
Original-Received: from localhost (localhost [127.0.0.1])
	by deliver.uni-koblenz.de (Postfix) with ESMTP id 98A641A8417;
	Wed, 23 Apr 2014 08:08:09 +0200 (CEST)
X-Virus-Scanned: amavisd-new at uni-koblenz.de
Original-Received: from deliver.uni-koblenz.de ([127.0.0.1])
	by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new,
	port 10024)
	with ESMTP id c5b0MTgxX4OA; Wed, 23 Apr 2014 08:08:09 +0200 (CEST)
X-CHKRCPT: Envelopesender noch tsdh@gnu.org
Original-Received: from thinkpad-t440p (dhcp84.uni-koblenz.de [141.26.71.84])
	(using TLSv1 with cipher AES128-SHA (128/128 bits))
	(No client certificate requested)
	by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 53BBD1A8416;
	Wed, 23 Apr 2014 08:08:09 +0200 (CEST)
In-Reply-To: <1366ad6f7a4a9624d8f90472f284f695@german-desktop>
	(=?utf-8?Q?=22Germ=C3=A1n?=
	Arias"'s message of "Tue, 22 Apr 2014 19:47:27 -0600")
User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4.50 (gnu/linux)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 141.26.64.15
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 <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=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:97319
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/97319>

Germ=C3=A1n Arias <germanandre@gmx.es> writes:

Hi Germ=C3=A1n,

> How add a handler at "file-name-handler-alist"?

Something like

  (add-to-list file-name-handler-alist
               (cons "\\.foobar\\'" #'my-foobar-handler))

should do the trick.

Bye,
Tassilo