From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.help Subject: Re: hijack C function, use it transparently with in-between layer Date: Tue, 07 Jun 2016 12:12:12 +0100 Message-ID: <87wpm1tfqr.fsf@russet.org.uk> References: <868tyjnghn.fsf@student.uu.se> <868tyi4jss.fsf@student.uu.se> <86ziqy30mp.fsf@student.uu.se> <8660tl3oo9.fsf@student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1465299017 23091 80.91.229.3 (7 Jun 2016 11:30:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2016 11:30:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 07 13:30:07 2016 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 1bAFCw-0005vx-4k for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jun 2016 13:30:06 +0200 Original-Received: from localhost ([::1]:48709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAFCv-00019x-De for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jun 2016 07:30:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAEwY-0003rP-36 for help-gnu-emacs@gnu.org; Tue, 07 Jun 2016 07:13:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAEwK-0002kZ-57 for help-gnu-emacs@gnu.org; Tue, 07 Jun 2016 07:13:08 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:49697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAEwJ-0002OY-RY for help-gnu-emacs@gnu.org; Tue, 07 Jun 2016 07:12:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:To:From; bh=3FGkRwQFuE1vY2eIxCMJRZkUnT4AVVLN9PwFUD8r7fE=; b=AzgvDuM1UX90o+Ayabq7AVp5/3 h3h+l5K+4acVUOPfkc1IY56eBVlpCUeDOQHbh9IsTkWVx3cFW4H8TZqAYbC3G5zNpHbbAxOCzYk4C vBvhtx+tKdgo96UdqHvuGOA2Bs/iGpDk44tP+NGqsR0T296+LxERRy/e3yhnZ9A41kxIW3ztQyxfO LS7tSeJKtQXjyPTc2zDXBzw5ihU2VE1+3HyfyNG4CSfqnkrff7QXeGtdcMUOysWCOHMIB9wxE48RR 4Gh1LBC6I+4LVxE9g5Hi5cefppqwRjD5j64jmpmJbuE8sEUKjc+Nqt/CCw4BF/q67I3UnZj02Xmnn nCJayM3g==; Original-Received: from janus-nat-128-240-225-60.ncl.ac.uk ([128.240.225.60]:32317 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1bAEvd-001hc9-Ab for help-gnu-emacs@gnu.org; Tue, 07 Jun 2016 12:12:13 +0100 In-Reply-To: <8660tl3oo9.fsf@student.uu.se> (Emanuel Berg's message of "Tue, 07 Jun 2016 01:03:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.216.48.48 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:110357 Archived-At: Emanuel Berg writes: > Barry Margolin writes: > >> Is that a bug or a feature request? > > The reason I thought this would be cool to have > is exactly the messaging. I thought it could be > cool to drop certain messages I never care for > anyway (e.g., "Mark set", "Auto-saving...done", > etc.). The messaging framework of Emacs is a little under-powered at the moment -- one which bugs me, for instance, is Emacs has now (lisp level) ability to write to standard out. Unless it's running in batch, when it always does so. It's possible, of course, to write something better, but most packages use message directly. The ability to filter, suppress and change various messages would be good. Probably the best way to achieve this would be to pull message out of C and into lisp. It's all doable, just takes time. If you want it, why not fork from master, and start working on it? Phil