From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: [BUG] menubar on a console (Emacs 23) Date: Sat, 01 Mar 2008 09:39:18 +0100 Organization: orebokech dot com Message-ID: <8763w6x2h5.fsf@elegiac.orebokech.com> References: <18376.57845.602009.811980@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204360781 26827 80.91.229.12 (1 Mar 2008 08:39:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2008 08:39:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 01 09:40:07 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JVNGH-0000Bg-EW for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2008 09:40:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVNFk-0005Jj-HR for ged-emacs-devel@m.gmane.org; Sat, 01 Mar 2008 03:39:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVNFf-0005GM-IW for emacs-devel@gnu.org; Sat, 01 Mar 2008 03:39:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVNFc-00058n-04 for emacs-devel@gnu.org; Sat, 01 Mar 2008 03:39:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVNFb-00058R-Oq for emacs-devel@gnu.org; Sat, 01 Mar 2008 03:39:23 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JVNFb-00061v-79 for emacs-devel@gnu.org; Sat, 01 Mar 2008 03:39:23 -0500 Original-Received: from smtp4-g19.free.fr ([212.27.42.30]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVNFZ-00050V-Lo for emacs-devel@gnu.org; Sat, 01 Mar 2008 03:39:22 -0500 Original-Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id 0CB123EA110; Sat, 1 Mar 2008 09:39:20 +0100 (CET) Original-Received: from elegiac.orebokech.com (home.orebokech.com [82.67.41.165]) by smtp4-g19.free.fr (Postfix) with ESMTP id 8B8E43EA10C; Sat, 1 Mar 2008 09:39:19 +0100 (CET) Original-Received: by elegiac.orebokech.com (Postfix, from userid 1000) id 6DB3A3C435; Sat, 1 Mar 2008 09:39:18 +0100 (CET) X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM, emacs-devel@gnu.org In-Reply-To: <18376.57845.602009.811980@kahikatea.snap.net.nz> (Nick Roberts's message of "Sat, 1 Mar 2008 17:56:21 +1300") X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90958 Archived-At: Nick Roberts writes: > The visibilty of the menubar only extends as far as the last menu > item on a console with Emacs 23.0.60. Previously (and with > EMACS_22_BASE) it would stretch across the entire screen. Yes, it's caused by the following changes; Kim is looking into it. 2008-02-27 Kim F. Storm * lisp.h (GLYPH): Change type from int to struct with separate char and face_id members. (GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Delete macros. (GLYPH_CHAR, GLYPH_FACE): Remove slow versions with frame arg. (FAST_GLYPH_CHAR, FAST_GLYPH_FACE): Rename macros to ... (GLYPH_CHAR, GLYPH_FACE): ... these. Change users. (FAST_MAKE_GLYPH, MAKE_GLYPH): Remove. Rewrite users to use ... (SET_GLYPH, SET_GLYPH_CHAR, SET_GLYPH_FACE): ... these macros instead. (GLYPH_CODE_CHAR, GLYPH_CODE_FACE, GLYPH_CODE_P) (GLYPH_CODE_CHAR_VALID_P, SET_GLYPH_FROM_GLYPH_CODE): New macros to handle new Lisp glyph code encoding, either an integer or a cons. * disptab.h (GLYPH_SIMPLE_P): Rewrite. (GLYPH_ALIAS): Delete. (GLYPH_ALIAS_P, GLYPH_FOLLOW_ALIASES): Rewrite. (GLYPH_LENGTH, GLYPH_STRING): Use GLYPH_CHAR. (GLYPH_FROM_CHAR): Replace macro by ... (SET_GLYPH_FROM_CHAR): ... this macro. Change users. * dispextern.h (CHAR_GLYPH_SPACE_P): Simplify. (GLYPH_FROM_CHAR_GLYPH): Replace macro by ... (SET_GLYPH_FROM_CHAR_GLYPH): ... this macro. Change users. (GLYPH_INVALID_P): New macro. (spec_glyph_lookup_face): Update prototype. * dispnew.c (line_draw_cost): Adapt to new glyph type. (build_frame_matrix_from_leaf_window): Adapt to new glyph type and new glyph code encoding. (spec_glyph_lookup_face): No return value; update passed glyph instead. (init_display): Use SET_CHAR_GLYPH to initialize space_glyph. * xdisp.c (get_next_display_element, next_element_from_display_vector): Adapt to new glyph type and new glyph code encoding. * term.c (encode_terminal_code, produce_special_glyphs): Likewise. * indent.c (current_column, current_column_1, Fmove_to_column) (compute_motion): Adapt to new glyph code encoding. * msdos.c (IT_write_glyphs): Adapt to new glyph type.