From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Grant Rettke Newsgroups: gmane.emacs.help Subject: Querying available mode hooks in a given mode Date: Sat, 12 Apr 2014 21:46:07 -0500 Message-ID: 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 1397361815 32120 80.91.229.3 (13 Apr 2014 04:03:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Apr 2014 04:03:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 13 06:03:30 2014 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 1WZBdf-0008Lj-3A for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Apr 2014 06:03:27 +0200 Original-Received: from localhost ([::1]:36409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZBde-0003Cn-NJ for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Apr 2014 00:03:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZAQs-0003PI-Am for help-gnu-emacs@gnu.org; Sat, 12 Apr 2014 22:46:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZAQr-0007xG-7q for help-gnu-emacs@gnu.org; Sat, 12 Apr 2014 22:46:10 -0400 Original-Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]:44249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZAQq-0007xB-Se for help-gnu-emacs@gnu.org; Sat, 12 Apr 2014 22:46:09 -0400 Original-Received: by mail-ob0-f169.google.com with SMTP id va2so7824386obc.0 for ; Sat, 12 Apr 2014 19:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=uEHblOh4pfDDBt7NdHVE7/j0Pm+rI5ce8ljuaRUwsAU=; b=Kll9WTGEoEPlP4s9PxZu7HIi+RSE0h3x60g7MOFbFyrZ2iE98TVa4JhSTaSrTYMOtf Jurlk7ZwdJ+6qr/OoD8JhPgj893YtbKdVxI/Dok02WeCSHFo/5gsPbXS7Uy0mvJEdKVb BO2ieMSTkRyDcnmmg4/b0eJEwz1ONFrYd69cpZcpfRf57DfkDzroIuvnOQYxtWx0BTIv fNysO7LcXxpEpEysN+80YptsM0y5qfzs4Cetkrf4yP2qAPsUrKv/QCuxRMv1iSIAPkj7 CB7WtEqrlmawWuFSE72KO16IPgvjto+Oa8GmkbsDXlZt0USpVFqE7EAvS5PLy+LScvjB ImxA== X-Received: by 10.60.51.227 with SMTP id n3mr27505204oeo.33.1397357167968; Sat, 12 Apr 2014 19:46:07 -0700 (PDT) Original-Received: by 10.182.50.135 with HTTP; Sat, 12 Apr 2014 19:46:07 -0700 (PDT) X-Google-Sender-Auth: yVoxT7X6J-dchlQeIXSOHXanEa0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::229 X-Mailman-Approved-At: Sun, 13 Apr 2014 00:03:16 -0400 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:97112 Archived-At: Hi, My goal is to, after a mode has been entered, to check whether a particular hook exists. If it does or does not exist, then I will run some handler code. In an attempt to find a may to check for what hooks exist, I read the manual, specifically the hooks section, and didn't see what are obvious places to look. Any idea where I should start? Regards, Grant Rettke | AAAS, ACM, AMA, COG, FSF, IEEE, Sigma Xi grettke@acm.org | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson