From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.devel Subject: Re: eww Date: Sun, 7 Jul 2013 06:32:52 +0800 Message-ID: References: <87d2rkb1pi.fsf@fleche.redhat.com> <87fvwfa3ev.fsf@fleche.redhat.com> <87k3l96gna.fsf@lifelogs.com> <87ehbb1zs5.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1373149983 31612 80.91.229.3 (6 Jul 2013 22:33:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Jul 2013 22:33:03 +0000 (UTC) Cc: emacs-devel To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 07 00:33:04 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Uvb2N-0000Tu-MG for ged-emacs-devel@m.gmane.org; Sun, 07 Jul 2013 00:33:03 +0200 Original-Received: from localhost ([::1]:40512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uvb2N-0003pd-6G for ged-emacs-devel@m.gmane.org; Sat, 06 Jul 2013 18:33:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uvb2H-0003pX-7J for emacs-devel@gnu.org; Sat, 06 Jul 2013 18:33:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uvb2D-0002Y5-Fq for emacs-devel@gnu.org; Sat, 06 Jul 2013 18:32:57 -0400 Original-Received: from mail-ie0-x235.google.com ([2607:f8b0:4001:c03::235]:64137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uvb2D-0002Y1-AV for emacs-devel@gnu.org; Sat, 06 Jul 2013 18:32:53 -0400 Original-Received: by mail-ie0-f181.google.com with SMTP id x12so7210771ief.26 for ; Sat, 06 Jul 2013 15:32:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZmZcUeuBDcVxMTq3UloYWY6AWf7d6QPwZAncgKBfRXc=; b=NkPRgJ2dh0SjrOskDyABiLfOgd9ueEcbSKnuv1aXgAkEgCmFKsdSoEFhFd1KhSyqdy OZa6KJ7Cw83UVeZiv1CCvvXyGp/zMySKxB9nocGsCHRbxqZs4qOPtpzaCGRICQb+aTzs UOC1/+0QdQaBMBtqCT/sM1sDa61ntxCNeLLP2QfqfgkBX7gNyECiUqWeE4pIptFDamg+ m0oPxXfuUCA7vMSQ9YPx7XvzljWgMPOKt2i59pty5HdAZDPVYhCPwWWefdtRiB9ofLYX ttc19vUW+OaGLUxWizBb8f6mSIT/EsJNF4/820lex9iJLX4fdb6bgsampDLPiPfu6yY5 Y7xg== X-Received: by 10.43.133.70 with SMTP id hx6mr5552049icc.34.1373149972763; Sat, 06 Jul 2013 15:32:52 -0700 (PDT) Original-Received: by 10.42.28.3 with HTTP; Sat, 6 Jul 2013 15:32:52 -0700 (PDT) In-Reply-To: <87ehbb1zs5.fsf@building.gnus.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161689 Archived-At: On Sat, Jul 6, 2013 at 11:19 PM, Lars Ingebrigtsen wrote: > Ted Zlatanov writes: > >> I'm not sure I understand all the buffer magic eww does, so here's an >> attempt to provide `eww-view-source' under `v' (right now it just calls >> `debug' on the data). If I edebug `eww-view-source' it has the right >> data, but I think something is getting lost in translation because the >> data doesn't show up when I actually hit `v'. > > Calling `debug' is probably not the right thing to do. Just pop to a > buffer called "*eww source*" or something, with a very minor mode that > would just bind `q' to exit. I think deriving from special-mode is better, because it has very convenient binding for beginning/end-of-buffer, scroll-down/up-commnd, and also bind `q' to exit. -- Best regards, Xue Fuqiao. http://www.gnu.org/software/emacs/